aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai/chew.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2018-03-13 15:08:44 +0100
committerEugene Sandulenko2018-03-13 15:08:44 +0100
commit11e5e5d378819ca2d5e000b7daf383492699ffa0 (patch)
tree161a82550688e48bd0e45578bb39f1baa20c8808 /engines/bladerunner/script/ai/chew.cpp
parentf85899cf93b33d1ee2a29b75b4b4bd3fbf18b383 (diff)
downloadscummvm-rg350-11e5e5d378819ca2d5e000b7daf383492699ffa0.tar.gz
scummvm-rg350-11e5e5d378819ca2d5e000b7daf383492699ffa0.tar.bz2
scummvm-rg350-11e5e5d378819ca2d5e000b7daf383492699ffa0.zip
BLADERUNNER: Added Isabella actor
Diffstat (limited to 'engines/bladerunner/script/ai/chew.cpp')
-rw-r--r--engines/bladerunner/script/ai/chew.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/script/ai/chew.cpp b/engines/bladerunner/script/ai/chew.cpp
index b732de2a53..65403920b7 100644
--- a/engines/bladerunner/script/ai/chew.cpp
+++ b/engines/bladerunner/script/ai/chew.cpp
@@ -164,7 +164,7 @@ bool AIScriptChew::UpdateAnimation(int *animation, int *frame) {
if (_var2 == 2) {
*animation = 779;
}
- if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(*animation)) {
+ if (_animationFrame < Slice_Animation_Query_Number_Of_Frames(*animation)) {
_animationFrame += 2;
if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(*animation)) {
_animationFrame = 0;