mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 13:13:29 -04:00
Compiler compat fix: Passing of rvalue GXColors to non-const reference parameters (#1142)
This commit is contained in:
@@ -594,12 +594,7 @@ static void ke_disp(mo2_class* i_this) {
|
||||
ke_control(i_this, pkVar2, i);
|
||||
ke_draw(i_this, pkVar2, i);
|
||||
}
|
||||
#ifdef __MWERKS__
|
||||
i_this->m3Dline.update(10, 1.25f, (GXColor){0xFF, 0x64, 0, 0xFF}, 2, &actor->tevStr);
|
||||
#else
|
||||
GXColor local_18 = (GXColor){0xFF, 0x64, 0, 0xFF};
|
||||
i_this->m3Dline.update(10, 1.25f, local_18, 2, &actor->tevStr);
|
||||
#endif
|
||||
dComIfGd_set3DlineMat(&i_this->m3Dline);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user