diff options
author | Paul Gilbert | 2016-03-24 07:49:59 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-24 07:49:59 -0400 |
commit | 66e198d665a8aacd1724848a40e6533f3d5cfebc (patch) | |
tree | 549c1414ea83683eb9c75ba5eea7d3d07733009a /engines/titanic/game/gondolier | |
parent | 2f532c086d5cd466a54763fc4fee14d0940e0abb (diff) | |
download | scummvm-rg350-66e198d665a8aacd1724848a40e6533f3d5cfebc.tar.gz scummvm-rg350-66e198d665a8aacd1724848a40e6533f3d5cfebc.tar.bz2 scummvm-rg350-66e198d665a8aacd1724848a40e6533f3d5cfebc.zip |
TITANIC: Cleanup and fixes for message hierarchy
Diffstat (limited to 'engines/titanic/game/gondolier')
-rw-r--r-- | engines/titanic/game/gondolier/gondolier_mixer.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/game/gondolier/gondolier_mixer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/gondolier/gondolier_mixer.cpp b/engines/titanic/game/gondolier/gondolier_mixer.cpp index 3d0a0e1f19..2bd3313d47 100644 --- a/engines/titanic/game/gondolier/gondolier_mixer.cpp +++ b/engines/titanic/game/gondolier/gondolier_mixer.cpp @@ -57,7 +57,7 @@ void CGondolierMixer::load(SimpleFile *file) { CGondolierBase::load(file); } -bool CGondolierMixer::handleEvent(CEnterRoomMsg &msg) { +bool CGondolierMixer::handleMessage(CEnterRoomMsg &msg) { CRoomItem *parentRoom = dynamic_cast<CRoomItem *>(getParent()); if (parentRoom == msg._newRoom) msg.execute(parentRoom); diff --git a/engines/titanic/game/gondolier/gondolier_mixer.h b/engines/titanic/game/gondolier/gondolier_mixer.h index 1288290d6f..dd7288352b 100644 --- a/engines/titanic/game/gondolier/gondolier_mixer.h +++ b/engines/titanic/game/gondolier/gondolier_mixer.h @@ -38,7 +38,7 @@ private: CString _string2; int _fieldE4; protected: - virtual bool handleEvent(CEnterRoomMsg &msg); + virtual bool handleMessage(CEnterRoomMsg &msg); public: CLASSDEF CGondolierMixer(); |