aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorMarcus Comstedt2003-08-03 14:28:58 +0000
committerMarcus Comstedt2003-08-03 14:28:58 +0000
commit3e42d8972f510a75e82929079c54178a55505efc (patch)
tree1b5d724d209de1ff5ba2abc4b65b7039c30ce4cb /sky
parentb2d8522b11dc03a89e06fb61e74c8105f14d12cf (diff)
downloadscummvm-rg350-3e42d8972f510a75e82929079c54178a55505efc.tar.gz
scummvm-rg350-3e42d8972f510a75e82929079c54178a55505efc.tar.bz2
scummvm-rg350-3e42d8972f510a75e82929079c54178a55505efc.zip
GCC bug workaround... (merge from branch-0-5-0)
svn-id: r9429
Diffstat (limited to 'sky')
-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;