aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-07-28 21:40:02 -0400
committerPaul Gilbert2017-07-28 21:40:02 -0400
commit720e146051b1bdeae1246005317aee8992ad459b (patch)
tree715e68f325c94cec4870962e583e6c144028cce1 /engines
parent0b8af4163b3dcd7413f4fa9338fbff839ae56593 (diff)
downloadscummvm-rg350-720e146051b1bdeae1246005317aee8992ad459b.tar.gz
scummvm-rg350-720e146051b1bdeae1246005317aee8992ad459b.tar.bz2
scummvm-rg350-720e146051b1bdeae1246005317aee8992ad459b.zip
TITANIC: Fix second vision center appearing in bar
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/npcs/barbot.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/npcs/barbot.cpp b/engines/titanic/npcs/barbot.cpp
index 489ed39c4b..21644bc150 100644
--- a/engines/titanic/npcs/barbot.cpp
+++ b/engines/titanic/npcs/barbot.cpp
@@ -406,8 +406,10 @@ bool CBarbot::MovieEndMsg(CMovieEndMsg *msg) {
}
if (msg->_endFrame == _frames[58]._endFrame || msg->_endFrame == _frames[21]._endFrame) {
- CVisibleMsg visibleMsg(true);
- visibleMsg.execute("BarShelfVisCentre");
+ if (!_gottenDrunk) {
+ CVisibleMsg visibleMsg(true);
+ visibleMsg.execute("BarShelfVisCentre");
+ }
}
if (msg->_endFrame == _frames[57]._endFrame) {