aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorOliver Kiehl2003-05-29 15:50:36 +0000
committerOliver Kiehl2003-05-29 15:50:36 +0000
commite62091f008f5849f8e5a4c4a9b8a2cb6599cacd1 (patch)
treef7a517306be8bba32b08b79f350cd64008b53692 /sky
parentae73d6d7bf7f1b981c77e00a5852cec5fcbfaeeb (diff)
downloadscummvm-rg350-e62091f008f5849f8e5a4c4a9b8a2cb6599cacd1.tar.gz
scummvm-rg350-e62091f008f5849f8e5a4c4a9b8a2cb6599cacd1.tar.bz2
scummvm-rg350-e62091f008f5849f8e5a4c4a9b8a2cb6599cacd1.zip
renamed variable
svn-id: r8105
Diffstat (limited to 'sky')
-rw-r--r--sky/logic.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sky/logic.cpp b/sky/logic.cpp
index fbd0bf99db..871a534d3f 100644
--- a/sky/logic.cpp
+++ b/sky/logic.cpp
@@ -1238,11 +1238,11 @@ bool SkyLogic::fnGetTo(uint32 targetPlaceId, uint32 mode, uint32 c) {
bool SkyLogic::fnSetToStand(uint32 a, uint32 b, uint32 c) {
_compact->mood = 1; // high level stood still
- uint16 *p = *(uint16 **)SkyCompact::getCompactElem(_compact, C_STAND_UP
+ uint16 *standList = *(uint16 **)SkyCompact::getCompactElem(_compact, C_STAND_UP
+ _compact->extCompact->megaSet + _compact->extCompact->dir * 4);
- _compact->offset = *p++; // get frames offset
- _compact->grafixProg = p;
+ _compact->offset = *standList++; // get frames offset
+ _compact->grafixProg = standList;
_compact->logic = L_SIMPLE_MOD;
simpleAnim();
return false; // drop out of script