aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sky/logic.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp
index 604b4a45d7..c0dc6f7e06 100644
--- a/sky/logic.cpp
+++ b/sky/logic.cpp
@@ -1635,6 +1635,10 @@ bool SkyLogic::fnSpeakWaitDir(uint32 a, uint32 b, uint32 c) {
b is text message number
c is base of mini table within anim_talk_table */
+#ifdef __DC__
+ __builtin_alloca(4); // Works around a gcc bug
+#endif
+
_compact->flag = (uint16)a;
_compact->logic = L_LISTEN;