mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-31 01:00:56 -04:00
Compiler compat fix: Passing of rvalue GXColors to non-const reference parameters (#1142)
This commit is contained in:
@@ -305,12 +305,7 @@ static BOOL daHimo3_Draw(himo3_class* i_this) {
|
||||
fVar1 = DEMO_SELECT(REG0_F(0) + 3.75f, 3.75f);
|
||||
}
|
||||
|
||||
#ifdef __MWERKS__
|
||||
i_this->mLineMat.update(i_this->m15C0, fVar1, (GXColor){200, 150, 50, 255}, 0, &actor->tevStr);
|
||||
#else
|
||||
GXColor color = (GXColor){200, 150, 50, 255};
|
||||
i_this->mLineMat.update(i_this->m15C0, fVar1, color, 0, &actor->tevStr);
|
||||
#endif
|
||||
dComIfGd_set3DlineMat(&i_this->mLineMat);
|
||||
|
||||
if (i_this->m0298 != 0xf) {
|
||||
|
||||
Reference in New Issue
Block a user