diff options
Diffstat (limited to 'queen/logic.cpp')
-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); |