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/mutant1.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/mutant1.cpp')
| -rw-r--r-- | engines/bladerunner/script/ai/mutant1.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/engines/bladerunner/script/ai/mutant1.cpp b/engines/bladerunner/script/ai/mutant1.cpp index fcc46cdbc2..657a229906 100644 --- a/engines/bladerunner/script/ai/mutant1.cpp +++ b/engines/bladerunner/script/ai/mutant1.cpp @@ -466,7 +466,7 @@ bool AIScriptMutant1::UpdateAnimation(int *animation, int *frame) {  			Actor_Combat_AI_Hit_Attempt(kActorMutant1);  		}  		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(898)) { -			Actor_Change_Animation_Mode(kActorMutant1, 0); +			Actor_Change_Animation_Mode(kActorMutant1, kAnimationModeIdle);  		}  		break; @@ -477,7 +477,7 @@ bool AIScriptMutant1::UpdateAnimation(int *animation, int *frame) {  			Ambient_Sounds_Play_Sound(kSfxHURT1M1, 99, 0, 0, 25);  		}  		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(899)) { -			Actor_Change_Animation_Mode(kActorMutant1, 0); +			Actor_Change_Animation_Mode(kActorMutant1, kAnimationModeIdle);  		}  		break; @@ -504,7 +504,7 @@ bool AIScriptMutant1::UpdateAnimation(int *animation, int *frame) {  			Sound_Play(kSfxHURT1M1, 100, 0, 0, 50);  		}  		if (_animationFrame >= Slice_Animation_Query_Number_Of_Frames(899)) { -			Actor_Change_Animation_Mode(kActorMutant1, 0); +			Actor_Change_Animation_Mode(kActorMutant1, kAnimationModeIdle);  		}  		break; | 
