diff options
Diffstat (limited to 'engines/bladerunner/script')
-rw-r--r-- | engines/bladerunner/script/ai/izo.cpp | 2 | ||||
-rw-r--r-- | engines/bladerunner/script/ai/steele.cpp | 2 | ||||
-rw-r--r-- | engines/bladerunner/script/scene_script.cpp | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/engines/bladerunner/script/ai/izo.cpp b/engines/bladerunner/script/ai/izo.cpp index 9e48995816..ce1c15c208 100644 --- a/engines/bladerunner/script/ai/izo.cpp +++ b/engines/bladerunner/script/ai/izo.cpp @@ -192,7 +192,7 @@ void AIScriptIzo::OtherAgentExitedThisScene(int otherActorId) { void AIScriptIzo::OtherAgentEnteredCombatMode(int otherActorId, int combatMode) { if (Actor_Query_Goal_Number(kActorIzo) == kGoalIzoRC03Walk) { - Game_Flag_Query(kFlagIzoIsReplicant); + Game_Flag_Query(kFlagIzoIsReplicant); // bug in the game? } return; //false; } diff --git a/engines/bladerunner/script/ai/steele.cpp b/engines/bladerunner/script/ai/steele.cpp index 1715f6d6ed..f5e9f05ad4 100644 --- a/engines/bladerunner/script/ai/steele.cpp +++ b/engines/bladerunner/script/ai/steele.cpp @@ -1963,7 +1963,7 @@ bool AIScriptSteele::UpdateAnimation(int *animation, int *frame) { bool AIScriptSteele::ChangeAnimationMode(int mode) { switch (mode) { - case kGoalSteeleDefault: + case kAnimationModeIdle: if (Game_Flag_Query(kFlagSteeleAimingAtGordo)) { _var1 = 3; } else { diff --git a/engines/bladerunner/script/scene_script.cpp b/engines/bladerunner/script/scene_script.cpp index c4a5a1bc3f..77ebaa2a98 100644 --- a/engines/bladerunner/script/scene_script.cpp +++ b/engines/bladerunner/script/scene_script.cpp @@ -27,7 +27,9 @@ namespace BladeRunner { SceneScript::SceneScript(BladeRunnerEngine *vm) : _vm(vm) , _inScriptCounter(0) - , _currentScript(nullptr) {} + , _currentScript(nullptr) + , _mouseX(0) + , _mouseY(0) {} SceneScript::~SceneScript() { delete _currentScript; |