summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_st.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_st.cpp
parent641268e340402a965c90610f7c176d95e346c644 (diff)
Compiler compat fix: Passing of rvalue GXColors to non-const reference parameters (#1142)
Diffstat (limited to 'src/d/actor/d_a_st.cpp')
-rw-r--r--src/d/actor/d_a_st.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/d/actor/d_a_st.cpp b/src/d/actor/d_a_st.cpp
index f910e773..ec936be0 100644
--- a/src/d/actor/d_a_st.cpp
+++ b/src/d/actor/d_a_st.cpp
@@ -222,12 +222,7 @@ static void ke_pos_set(st_class* i_this, st_ke_s* param_2, int param_3) {
static void ke_disp(st_class* i_this) {
fopAc_ac_c* actor = &i_this->actor;
-#ifdef __MWERKS__
i_this->mLineMat.update(10, 1.2f, (GXColor){0xFF, 0x64, 0, 0xFF}, 2, &actor->tevStr);
-#else
- GXColor color = (GXColor){0xFF, 0x64, 0, 0xFF};
- i_this->mLineMat.update(10, 1.2f, color, 2, &actor->tevStr);
-#endif
dComIfGd_set3DlineMat(&i_this->mLineMat);
}