diff options
author | Gregory Montoir | 2003-11-13 10:44:31 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-11-13 10:44:31 +0000 |
commit | 3a51c5b702e4bdb43552c13c7cf55a7a6f334010 (patch) | |
tree | 79954528733ffbfd71022d57535e19b8910ff2c4 | |
parent | d655603005782469441b358ec538b5a5fcbce9e7 (diff) | |
download | scummvm-rg350-3a51c5b702e4bdb43552c13c7cf55a7a6f334010.tar.gz scummvm-rg350-3a51c5b702e4bdb43552c13c7cf55a7a6f334010.tar.bz2 scummvm-rg350-3a51c5b702e4bdb43552c13c7cf55a7a6f334010.zip |
fix amazon/shower issue outside temple
svn-id: r11280
-rw-r--r-- | queen/logic.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index e67e53470b..d1294ecff0 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -917,7 +917,7 @@ void Logic::roomSetupFurniture() { ++_numFurnitureAnimated; uint16 image = curImage + 1; int k; - for (k = pgd->firstFrame; k <= pgd->lastFrame; ++k) { + for (k = pgd->firstFrame; k <= lastFrame; ++k) { ++curImage; _graphics->bankUnpack(k, curImage, 15); ++_numFrames; @@ -1343,6 +1343,8 @@ uint16 Logic::personSetup(uint16 noun, uint16 curImage) { pbs->frameNum = p.bobFrame; pbs->xflip = xflip; + debug(0, "Logic::personSetup(%d, %d) - bob = %d", noun, curImage, pad->bobNum); + if (p.anim != NULL) { _personFrames[pad->bobNum] = curImage + 1; curImage = animCreate(curImage, &p); |