aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/sgt/sgt_state_room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/game/sgt/sgt_state_room.cpp')
-rw-r--r--engines/titanic/game/sgt/sgt_state_room.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/titanic/game/sgt/sgt_state_room.cpp b/engines/titanic/game/sgt/sgt_state_room.cpp
index 9baae69afb..1a68131589 100644
--- a/engines/titanic/game/sgt/sgt_state_room.cpp
+++ b/engines/titanic/game/sgt/sgt_state_room.cpp
@@ -24,6 +24,10 @@
namespace Titanic {
+BEGIN_MESSAGE_MAP(CSGTStateRoom, CBackground)
+ ON_MESSAGE(EnterRoomMsg)
+END_MESSAGE_MAP()
+
CSGTStateRoomStatics *CSGTStateRoom::_statics;
void CSGTStateRoom::init() {
@@ -90,7 +94,7 @@ void CSGTStateRoom::load(SimpleFile *file) {
CBackground::load(file);
}
-bool CSGTStateRoom::handleMessage(CEnterRoomMsg &msg) {
+bool CSGTStateRoom::EnterRoomMsg(CEnterRoomMsg *msg) {
warning("CSGTStateRoom::handleEvent");
return true;
}