From fc0396f80f655bc165fe6ce584e6301b6ada42d8 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 11 Sep 2017 21:28:45 -0400 Subject: TITANIC: Fix freeze panning away from Parrot cage --- engines/titanic/npcs/parrot.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/titanic') diff --git a/engines/titanic/npcs/parrot.cpp b/engines/titanic/npcs/parrot.cpp index 6277751efd..9da3ed0a32 100644 --- a/engines/titanic/npcs/parrot.cpp +++ b/engines/titanic/npcs/parrot.cpp @@ -548,6 +548,9 @@ bool CParrot::FrameMsg(CFrameMsg *msg) { | NPCFLAG_MOVE_FINISH | NPCFLAG_MOVE_LEFT | NPCFLAG_MOVE_RIGHT | NPCFLAG_MOVE_END); return true; } + + // WORKAROUND: Prevent panning away from stalling if Parrot was moving + _npcFlags &= ~NPCFLAG_MOVING; } else { if (dragObject) chickenFlag = dragObject && dragObject->isEquals("Chicken"); -- cgit v1.2.3