summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_bridge.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_bridge.cpp
parent641268e340402a965c90610f7c176d95e346c644 (diff)
Compiler compat fix: Passing of rvalue GXColors to non-const reference parameters (#1142)
Diffstat (limited to 'src/d/actor/d_a_bridge.cpp')
-rw-r--r--src/d/actor/d_a_bridge.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/d/actor/d_a_bridge.cpp b/src/d/actor/d_a_bridge.cpp
index 8fb90d0f..97b82873 100644
--- a/src/d/actor/d_a_bridge.cpp
+++ b/src/d/actor/d_a_bridge.cpp
@@ -263,12 +263,7 @@ static BOOL daBridge_Draw(bridge_class* i_this) {
}
}
-#ifdef __MWERKS__
pBr->mLineMat1.update(5, (GXColor){150, 150, 150, 255}, &i_this->actor.tevStr);
-#else
- GXColor color = (GXColor){150, 150, 150, 255};
- pBr->mLineMat1.update(5, color, &i_this->actor.tevStr);
-#endif
dComIfGd_set3DlineMat(&pBr->mLineMat1);
continue;
}
@@ -373,12 +368,7 @@ static BOOL daBridge_Draw(bridge_class* i_this) {
tmp = 4.0f;
}
-#ifdef __MWERKS__
i_this->mLineMat.update(i_this->m030C + 2, tmp, (GXColor){150, 150, 150, 255}, 0, &i_this->actor.tevStr);
-#else
- GXColor color = (GXColor){150, 150, 150, 255};
- i_this->mLineMat.update(i_this->m030C + 2, tmp, color, 0, &i_this->actor.tevStr);
-#endif
dComIfGd_set3DlineMat(&i_this->mLineMat);
}