aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorMax Horn2003-01-06 13:41:29 +0000
committerMax Horn2003-01-06 13:41:29 +0000
commit37a64f5d12e0343347cffa57b7e1bbd00ec60db0 (patch)
tree1aece16d09acafb47237d3a759a48850e2aa857a /scumm/actor.cpp
parentf1d1076fd7aef2a17b37ecae1708a89e80686a86 (diff)
downloadscummvm-rg350-37a64f5d12e0343347cffa57b7e1bbd00ec60db0.tar.gz
scummvm-rg350-37a64f5d12e0343347cffa57b7e1bbd00ec60db0.tar.bz2
scummvm-rg350-37a64f5d12e0343347cffa57b7e1bbd00ec60db0.zip
cleanup; added a hack to avoid crash in the canon scene (at least it works this way for me)
svn-id: r6347
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r--scumm/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 3b1d16ebfb..9599ad32d0 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -474,7 +474,7 @@ void Actor::startAnimActor(int f)
if (f == 3 && _vm->_gameId == GID_INDY3_256 && (_vm->_currentRoom != 79))
f = initFrame;
- if (isInCurrentRoom() && costume) {
+ if (isInCurrentRoom() && costume != 0) {
animProgress = 0;
cost.animCounter1 = 0;
needRedraw = true;