aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kohaut2019-02-01 00:15:23 +0100
committerPeter Kohaut2019-02-02 00:50:16 +0100
commit315100861c05365dd27013be1885f2d67c9c032c (patch)
treefd87dfec457aca491af92a0dd452d7ca69ea0e63
parentcd43b7a11a327327635d458571fc8b1ad05ffc76 (diff)
downloadscummvm-rg350-315100861c05365dd27013be1885f2d67c9c032c.tar.gz
scummvm-rg350-315100861c05365dd27013be1885f2d67c9c032c.tar.bz2
scummvm-rg350-315100861c05365dd27013be1885f2d67c9c032c.zip
BLADERUNNER: Fixed issue with untargeting objects
-rw-r--r--engines/bladerunner/script/script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/script/script.cpp b/engines/bladerunner/script/script.cpp
index 796b4da397..983d998a18 100644
--- a/engines/bladerunner/script/script.cpp
+++ b/engines/bladerunner/script/script.cpp
@@ -1498,7 +1498,7 @@ void ScriptBase::Un_Combat_Target_Object(const char *objectName) {
int objectId = _vm->_scene->findObject(objectName);
if (objectId == -1)
return;
- _vm->_scene->objectSetIsTarget(objectId, true, !_vm->_sceneIsLoading);
+ _vm->_scene->objectSetIsTarget(objectId, false, !_vm->_sceneIsLoading);
}
void ScriptBase::Set_Fade_Color(float r, float g, float b) {