diff options
author | Thanasis Antoniou | 2019-04-20 17:32:47 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-04-20 17:33:39 +0300 |
commit | a663930dd062edd8bfc217fb19a5cbce37705ece (patch) | |
tree | 6d3b81f51280a1c6b59e1570aac3f976b874175a /engines/bladerunner/script/ai/gordo.cpp | |
parent | 63b8ddb50e03a535c4f61a2424914a3c09579197 (diff) | |
download | scummvm-rg350-a663930dd062edd8bfc217fb19a5cbce37705ece.tar.gz scummvm-rg350-a663930dd062edd8bfc217fb19a5cbce37705ece.tar.bz2 scummvm-rg350-a663930dd062edd8bfc217fb19a5cbce37705ece.zip |
BLADERUNNER: Named constants for animationIds P01
Part one of using named constants for model animations
Diffstat (limited to 'engines/bladerunner/script/ai/gordo.cpp')
-rw-r--r-- | engines/bladerunner/script/ai/gordo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/bladerunner/script/ai/gordo.cpp b/engines/bladerunner/script/ai/gordo.cpp index 974629b4d0..a6b478a4b0 100644 --- a/engines/bladerunner/script/ai/gordo.cpp +++ b/engines/bladerunner/script/ai/gordo.cpp @@ -280,7 +280,7 @@ void AIScriptGordo::Retired(int byActorId) { Actor_Voice_Over(1410, kActorVoiceOver); Actor_Voice_Over(1430, kActorVoiceOver); Actor_Voice_Over(1440, kActorVoiceOver); - if (Query_Difficulty_Level() > 0) { + if (Query_Difficulty_Level() > kGameDifficultyEasy) { Global_Variable_Increment(kVariableChinyen, 200); } Player_Gains_Control(); @@ -1130,9 +1130,9 @@ bool AIScriptGordo::UpdateAnimation(int *animation, int *frame) { if (Game_Flag_Query(kFlagNR02GordoLeaveLighter)) { Game_Flag_Reset(kFlagNR02GordoLeaveLighter); if (Game_Flag_Query(kFlagGordoIsReplicant)) { - Item_Add_To_World(kItemGordosLighter1, 953, kSetNR02, 148.94f, 22.19f, 476.1f, 0, 6, 6, false, true, false, false); + Item_Add_To_World(kItemGordosLighterReplicant, kModelAnimationGordosLighterReplicant, kSetNR02, 148.94f, 22.19f, 476.1f, 0, 6, 6, false, true, false, false); } else { - Item_Add_To_World(kItemGordosLighter2, 954, kSetNR02, 148.94f, 22.19f, 476.1f, 0, 6, 6, false, true, false, false); + Item_Add_To_World(kItemGordosLighterHuman, kModelAnimationGordosLighterHuman, kSetNR02, 148.94f, 22.19f, 476.1f, 0, 6, 6, false, true, false, false); } Actor_Set_Goal_Number(kActorGordo, kGoalGordoNR02GoToPodium); } |