aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/npcs/parrot.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/titanic/npcs/parrot.cpp b/engines/titanic/npcs/parrot.cpp
index bfb6690107..a377e8a3b0 100644
--- a/engines/titanic/npcs/parrot.cpp
+++ b/engines/titanic/npcs/parrot.cpp
@@ -606,9 +606,12 @@ bool CParrot::FrameMsg(CFrameMsg *msg) {
if (_npcFlags & NPCFLAG_CHICKEN_OUTSIDE_CAGE) {
if (!chickenFlag || pt.x > 70 || pt.y < 90 || pt.y > 280) {
+ // A start of eating the chicken outside the cage has to be
+ // aborted because the chicken has been moved out of range
stopMovie();
loadFrame(0);
setPosition(Point(-90, _bounds.top));
+ _npcFlags &= ~NPCFLAG_CHICKEN_OUTSIDE_CAGE;
}
} else {
if (!chickenFlag)