aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/chicken_dispensor.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-12 08:12:49 -0500
committerPaul Gilbert2016-11-12 08:12:49 -0500
commitb7469085b596e3d2fc330fe23ec60c76116c2ed7 (patch)
tree24a90765c5840cee93657b0cddb6f0a8cb467bc4 /engines/titanic/game/chicken_dispensor.cpp
parenta36039f9fe896241bddc1d0015c8d6f1cfaa5039 (diff)
downloadscummvm-rg350-b7469085b596e3d2fc330fe23ec60c76116c2ed7.tar.gz
scummvm-rg350-b7469085b596e3d2fc330fe23ec60c76116c2ed7.tar.bz2
scummvm-rg350-b7469085b596e3d2fc330fe23ec60c76116c2ed7.zip
TITANIC: Fix not being able to leave chicken dispensor
Diffstat (limited to 'engines/titanic/game/chicken_dispensor.cpp')
-rw-r--r--engines/titanic/game/chicken_dispensor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/game/chicken_dispensor.cpp b/engines/titanic/game/chicken_dispensor.cpp
index 8e02a1ec5c..df1f1eb22a 100644
--- a/engines/titanic/game/chicken_dispensor.cpp
+++ b/engines/titanic/game/chicken_dispensor.cpp
@@ -178,7 +178,7 @@ bool CChickenDispensor::MouseDragStartMsg(CMouseDragStartMsg *msg) {
}
bool CChickenDispensor::TurnOff(CTurnOff *msg) {
- if (getMovieFrame() == 16)
+ if (getMovieFrame() != 16)
setVisible(false);
playMovie(16, 12, MOVIE_NOTIFY_OBJECT | MOVIE_GAMESTATE);
_fieldE8 = 0;