aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai/sebastian.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/script/ai/sebastian.cpp')
-rw-r--r--engines/bladerunner/script/ai/sebastian.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/ai/sebastian.cpp b/engines/bladerunner/script/ai/sebastian.cpp
index 64f272e854..2fbeb78930 100644
--- a/engines/bladerunner/script/ai/sebastian.cpp
+++ b/engines/bladerunner/script/ai/sebastian.cpp
@@ -165,7 +165,7 @@ bool AIScriptSebastian::UpdateAnimation(int *animation, int *frame) {
*animation = 810;
_animationFrame++;
if (_animationFrame > Slice_Animation_Query_Number_Of_Frames(810) - 1) {
- Actor_Change_Animation_Mode(kActorSebastian, 0);
+ Actor_Change_Animation_Mode(kActorSebastian, kAnimationModeIdle);
*animation = 811;
_animationFrame = 0;
_animationState = 0;
@@ -181,7 +181,7 @@ bool AIScriptSebastian::UpdateAnimation(int *animation, int *frame) {
case 4:
if (!_animationFrame && _flag) {
- Actor_Change_Animation_Mode(kActorSebastian, 0);
+ Actor_Change_Animation_Mode(kActorSebastian, kAnimationModeIdle);
*animation = 811;
_animationState = 0;
_animationFrame = 0;