diff options
author | Paul Gilbert | 2016-03-19 11:03:03 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-19 11:03:03 -0400 |
commit | d86941f8c6b497f2d3d8409c2628af88bc600dae (patch) | |
tree | 7364693345333bc0fcc0e92291f3a8c04d46a19a /engines/titanic/game | |
parent | f1d674c745ba117e1e62ff6fa3ebb8a7cace3615 (diff) | |
download | scummvm-rg350-d86941f8c6b497f2d3d8409c2628af88bc600dae.tar.gz scummvm-rg350-d86941f8c6b497f2d3d8409c2628af88bc600dae.tar.bz2 scummvm-rg350-d86941f8c6b497f2d3d8409c2628af88bc600dae.zip |
TITANIC: Implement preEnterView and enterView
Diffstat (limited to 'engines/titanic/game')
-rw-r--r-- | engines/titanic/game/gondolier/gondolier_mixer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/game/gondolier/gondolier_mixer.cpp b/engines/titanic/game/gondolier/gondolier_mixer.cpp index f4fb655cf2..b647a31ac2 100644 --- a/engines/titanic/game/gondolier/gondolier_mixer.cpp +++ b/engines/titanic/game/gondolier/gondolier_mixer.cpp @@ -57,9 +57,9 @@ void CGondolierMixer::load(SimpleFile *file) { } bool CGondolierMixer::handleEvent(CEnterRoomMsg &msg) { - CTreeItem *parent = getParent(); - if (parent == msg._room) - msg.execute(parent); + CTreeItem *parentRoom = getParent(); + if (parentRoom == msg._newRoom) + msg.execute(parentRoom); return true; } |