diff options
author | Thanasis Antoniou | 2019-09-09 16:09:49 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-09-09 16:10:31 +0300 |
commit | 3827000fe1b34fc3026d4b59b745a54548b22b61 (patch) | |
tree | a1d5f86fe76993f4fab1d47c15d9bce1405960d5 /engines/bladerunner/script/ai/izo.cpp | |
parent | a4f9842065351c92dc20677dcc4a5bc2f8dc9542 (diff) | |
download | scummvm-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/izo.cpp')
-rw-r--r-- | engines/bladerunner/script/ai/izo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/bladerunner/script/ai/izo.cpp b/engines/bladerunner/script/ai/izo.cpp index f3bd3f46ec..55f2b9b8a3 100644 --- a/engines/bladerunner/script/ai/izo.cpp +++ b/engines/bladerunner/script/ai/izo.cpp @@ -640,7 +640,7 @@ bool AIScriptIzo::UpdateAnimation(int *animation, int *frame) { _animationFrame = 0; _animationState = 8; *animation = 277; - Actor_Change_Animation_Mode(kActorIzo, 4); + Actor_Change_Animation_Mode(kActorIzo, kAnimationModeCombatIdle); } break; @@ -665,7 +665,7 @@ bool AIScriptIzo::UpdateAnimation(int *animation, int *frame) { _animationFrame = 0; _animationState = 8; *animation = 277; - Actor_Change_Animation_Mode(kActorIzo, 4); + Actor_Change_Animation_Mode(kActorIzo, kAnimationModeCombatIdle); } break; @@ -690,7 +690,7 @@ bool AIScriptIzo::UpdateAnimation(int *animation, int *frame) { _animationFrame = 0; _animationState = 0; _var4 = 0; - Actor_Change_Animation_Mode(kActorIzo, 0); + Actor_Change_Animation_Mode(kActorIzo, kAnimationModeIdle); } } break; |