From 082120ef65518430bb77ffe7f7a47c29c2fc5120 Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Tue, 16 Dec 2003 19:50:18 +0000 Subject: fix speech logic bug (policeman scene works now...) svn-id: r11689 --- sword1/logic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3