aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Göffringmann2003-12-16 19:50:18 +0000
committerRobert Göffringmann2003-12-16 19:50:18 +0000
commit082120ef65518430bb77ffe7f7a47c29c2fc5120 (patch)
treea52c329a9e48977a9df38ab128043dacbf487027
parent5edaa87d68e7669da4c2b67e88a7f70603878882 (diff)
downloadscummvm-rg350-082120ef65518430bb77ffe7f7a47c29c2fc5120.tar.gz
scummvm-rg350-082120ef65518430bb77ffe7f7a47c29c2fc5120.tar.bz2
scummvm-rg350-082120ef65518430bb77ffe7f7a47c29c2fc5120.zip
fix speech logic bug (policeman scene works now...)
svn-id: r11689
-rw-r--r--sword1/logic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/logic.cpp b/sword1/logic.cpp
index 52afbe7ca0..48251066ab 100644
--- a/sword1/logic.cpp
+++ b/sword1/logic.cpp
@@ -212,7 +212,7 @@ void SwordLogic::processLogic(BsObject *compact, uint32 id) {
}
int SwordLogic::logicWaitTalk(BsObject *compact) {
- BsObject *target = _objMan->fetchObject(compact->o_target);
+ BsObject *target = _objMan->fetchObject(compact->o_down_flag);
if (target->o_status & STAT_TALK_WAIT) {
compact->o_logic = LOGIC_script;