diff options
author | Paul Gilbert | 2017-07-28 21:40:02 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-07-28 21:40:02 -0400 |
commit | 720e146051b1bdeae1246005317aee8992ad459b (patch) | |
tree | 715e68f325c94cec4870962e583e6c144028cce1 /engines | |
parent | 0b8af4163b3dcd7413f4fa9338fbff839ae56593 (diff) | |
download | scummvm-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.cpp | 6 |
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) { |