diff options
author | Peter Kohaut | 2018-03-24 16:51:54 +0100 |
---|---|---|
committer | Peter Kohaut | 2018-03-24 16:52:09 +0100 |
commit | a70c59f90d43ce31c548c68416bf0ab5385f15a9 (patch) | |
tree | 7c3d3a36392ad86f8ab526a98d19f8d57f29314a /engines/bladerunner/script/ai | |
parent | a222fc8ad8f31afb4a306b6ce391aa0d47ea86cf (diff) | |
download | scummvm-rg350-a70c59f90d43ce31c548c68416bf0ab5385f15a9.tar.gz scummvm-rg350-a70c59f90d43ce31c548c68416bf0ab5385f15a9.tar.bz2 scummvm-rg350-a70c59f90d43ce31c548c68416bf0ab5385f15a9.zip |
BLADERUNNER: PoliceMaze fix & constants
Diffstat (limited to 'engines/bladerunner/script/ai')
-rw-r--r-- | engines/bladerunner/script/ai/mccoy.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/bladerunner/script/ai/mccoy.cpp b/engines/bladerunner/script/ai/mccoy.cpp index 56b54ac0eb..1e3dff8c1b 100644 --- a/engines/bladerunner/script/ai/mccoy.cpp +++ b/engines/bladerunner/script/ai/mccoy.cpp @@ -1503,7 +1503,7 @@ bool AIScriptMcCoy::ChangeAnimationMode(int mode) { } } break; - case 21: + case kAnimationModeHit: switch (_animationState) { case 14: case 15: @@ -1520,7 +1520,7 @@ bool AIScriptMcCoy::ChangeAnimationMode(int mode) { } _animationFrame = 0; break; - case 16: + default: if (Random_Query(0, 1) == 1) { _animationState = 26; } else { @@ -1530,7 +1530,7 @@ bool AIScriptMcCoy::ChangeAnimationMode(int mode) { break; } break; - case 22: + case kAnimationModeCombatHit: if (Random_Query(0, 1) == 1) { _animationState = 23; } else { @@ -1587,7 +1587,7 @@ bool AIScriptMcCoy::ChangeAnimationMode(int mode) { _animationState = 41; _animationFrame = 0; break; - case 48: + case kAnimationModeDie: switch (_animationState) { case 14: case 15: @@ -1610,7 +1610,7 @@ bool AIScriptMcCoy::ChangeAnimationMode(int mode) { break; } break; - case 49: + case kAnimationModeCombatDie: _animationState = 28; _animationFrame = 0; break; @@ -1622,7 +1622,7 @@ bool AIScriptMcCoy::ChangeAnimationMode(int mode) { _animationState = 55; _animationFrame = 0; break; - case 53: + case kAnimationModeSit: if (_animationState != 60 && (Player_Query_Current_Set() == kSetNR03 || Player_Query_Current_Set() == kSetNR05_NR08)) { _animationState = 60; _animationFrame = 0; |