diff options
-rw-r--r-- | sword1/logic.cpp | 2 |
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; |