summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_bmdhand.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-07-31 13:20:48 -0400
committerGitHub <noreply@github.com>2026-07-31 13:20:48 -0400
commit45718d8cccbde7bad1c090de82e343fba68dc27f (patch)
tree283f733a77fb0ead544a652e17cf2dad2ad42e89 /src/d/actor/d_a_bmdhand.cpp
parent641268e340402a965c90610f7c176d95e346c644 (diff)
Compiler compat fix: Passing of rvalue GXColors to non-const reference parameters (#1142)
Diffstat (limited to 'src/d/actor/d_a_bmdhand.cpp')
-rw-r--r--src/d/actor/d_a_bmdhand.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/d/actor/d_a_bmdhand.cpp b/src/d/actor/d_a_bmdhand.cpp
index 79c0cd76..e2c30d10 100644
--- a/src/d/actor/d_a_bmdhand.cpp
+++ b/src/d/actor/d_a_bmdhand.cpp
@@ -47,12 +47,7 @@ void hand_draw(bmdhand_class* i_this) {
g_env_light.setLightTevColorType(i_this->mpMorf->getModel(), &actor->tevStr);
i_this->mpMorf->updateDL();
}
-#ifdef __MWERKS__
i_this->mLineMat.update(0x14, (GXColor){0xFF, 0xFF, 0xFF, 0xFF}, &actor->tevStr);
-#else
- GXColor local_18 = (GXColor){0xFF, 0xFF, 0xFF, 0xFF};
- i_this->mLineMat.update(0x14, local_18, &actor->tevStr);
-#endif
dComIfGd_set3DlineMat(&i_this->mLineMat);
}