mirror of
https://github.com/zeldaret/tww.git
synced 2026-09-12 20:26:07 -04:00
Compiler compat fix: Passing of rvalue GXColors to non-const reference parameters (#1142)
This commit is contained in:
@@ -782,12 +782,7 @@ BOOL daNpc_Tt_c::_draw() {
|
||||
current.pos.y, mObjAcch.GetGroundH(), mObjAcch.m_gnd, &tevStr
|
||||
);
|
||||
|
||||
#ifdef __MWERKS__
|
||||
mLineKe.mLineMat.update(10, 0.8f, (GXColor){0xC9, 0xCA, 0xE4, 0xFF}, 0, &tevStr);
|
||||
#else
|
||||
GXColor color = (GXColor){0xC9, 0xCA, 0xE4, 0xFF};
|
||||
mLineKe.mLineMat.update(10, 0.8f, color, 0, &tevStr);
|
||||
#endif
|
||||
dComIfGd_set3DlineMat(&mLineKe.mLineMat);
|
||||
|
||||
dSnap_RegistFig(DSNAP_TYPE_NPC_TT, this, 1.0f, 1.0f, 1.0f);
|
||||
|
||||
Reference in New Issue
Block a user