aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai/sebastian.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/sebastian.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/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;