aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai/mutant2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/script/ai/mutant2.cpp')
-rw-r--r--engines/bladerunner/script/ai/mutant2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/ai/mutant2.cpp b/engines/bladerunner/script/ai/mutant2.cpp
index 6f7f4924a4..e53fd6bc21 100644
--- a/engines/bladerunner/script/ai/mutant2.cpp
+++ b/engines/bladerunner/script/ai/mutant2.cpp
@@ -428,7 +428,7 @@ bool AIScriptMutant2::UpdateAnimation(int *animation, int *frame) {
Actor_Combat_AI_Hit_Attempt(kActorMutant2);
}
if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(906)) {
- Actor_Change_Animation_Mode(kActorMutant2, 0);
+ Actor_Change_Animation_Mode(kActorMutant2, kAnimationModeIdle);
}
break;
@@ -456,7 +456,7 @@ bool AIScriptMutant2::UpdateAnimation(int *animation, int *frame) {
Sound_Play(kSfxHURT1M2, 100, 0, 0, 50);
} else {
if (!_animationFrame) {
- Actor_Change_Animation_Mode(kActorMutant2, 0);
+ Actor_Change_Animation_Mode(kActorMutant2, kAnimationModeIdle);
}
}
break;