aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai/mutant3.cpp
diff options
context:
space:
mode:
authorThanasis Antoniou2019-09-09 16:09:49 +0300
committerThanasis Antoniou2019-09-09 16:10:31 +0300
commit3827000fe1b34fc3026d4b59b745a54548b22b61 (patch)
treea1d5f86fe76993f4fab1d47c15d9bce1405960d5 /engines/bladerunner/script/ai/mutant3.cpp
parenta4f9842065351c92dc20677dcc4a5bc2f8dc9542 (diff)
downloadscummvm-rg350-3827000fe1b34fc3026d4b59b745a54548b22b61.tar.gz
scummvm-rg350-3827000fe1b34fc3026d4b59b745a54548b22b61.tar.bz2
scummvm-rg350-3827000fe1b34fc3026d4b59b745a54548b22b61.zip
BLADERUNNER: Replace animation mode values with their proper enums
Diffstat (limited to 'engines/bladerunner/script/ai/mutant3.cpp')
-rw-r--r--engines/bladerunner/script/ai/mutant3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/ai/mutant3.cpp b/engines/bladerunner/script/ai/mutant3.cpp
index 393cf01a2c..fbc41d743f 100644
--- a/engines/bladerunner/script/ai/mutant3.cpp
+++ b/engines/bladerunner/script/ai/mutant3.cpp
@@ -442,7 +442,7 @@ bool AIScriptMutant3::UpdateAnimation(int *animation, int *frame) {
Actor_Combat_AI_Hit_Attempt(kActorMutant3);
}
if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(*animation)) {
- Actor_Change_Animation_Mode(kActorMutant3, 0);
+ Actor_Change_Animation_Mode(kActorMutant3, kAnimationModeIdle);
}
break;
@@ -495,7 +495,7 @@ bool AIScriptMutant3::UpdateAnimation(int *animation, int *frame) {
_var1 = -1;
} else {
if (!_animationFrame) {
- Actor_Change_Animation_Mode(kActorMutant3, 0);
+ Actor_Change_Animation_Mode(kActorMutant3, kAnimationModeIdle);
}
}
break;