aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Kiehl2003-05-25 20:37:19 +0000
committerOliver Kiehl2003-05-25 20:37:19 +0000
commitfb0b37c69bfd2c4525e0bd092355dda6643ac51a (patch)
treef8e535c558703d9c93eefc3288e067e4b487c180
parent829c666a8ade1df1db67db4e869ff6eb52b0aefd (diff)
downloadscummvm-rg350-fb0b37c69bfd2c4525e0bd092355dda6643ac51a.tar.gz
scummvm-rg350-fb0b37c69bfd2c4525e0bd092355dda6643ac51a.tar.bz2
scummvm-rg350-fb0b37c69bfd2c4525e0bd092355dda6643ac51a.zip
fix last commit
svn-id: r7969
-rw-r--r--sky/logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp
index cf613a1971..fae894294b 100644
--- a/sky/logic.cpp
+++ b/sky/logic.cpp
@@ -1247,7 +1247,7 @@ uint32 SkyLogic::fnTurnTo(uint32 dir, uint32 b, uint32 c) {
uint32 SkyLogic::fnArrived(uint32 scriptVar, uint32 b, uint32 c) {
_compact->extCompact->leaving = (uint16)(scriptVar & 0xffff);
- _scriptVariables[scriptVar]++;
+ _scriptVariables[scriptVar/4]++;
return 1;
}