aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/pet
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-24 12:51:44 -0400
committerPaul Gilbert2016-03-24 12:51:44 -0400
commitd9cc2908f8a9a7fa2d196c82571d32b5ef20ad9b (patch)
tree534f4a9bc978ffe51ca59673ab3bdc69fea10e81 /engines/titanic/game/pet
parent66e198d665a8aacd1724848a40e6533f3d5cfebc (diff)
downloadscummvm-rg350-d9cc2908f8a9a7fa2d196c82571d32b5ef20ad9b.tar.gz
scummvm-rg350-d9cc2908f8a9a7fa2d196c82571d32b5ef20ad9b.tar.bz2
scummvm-rg350-d9cc2908f8a9a7fa2d196c82571d32b5ef20ad9b.zip
TITANIC: Make all use of message targets public inheritance
Diffstat (limited to 'engines/titanic/game/pet')
-rw-r--r--engines/titanic/game/pet/pet_monitor.h3
-rw-r--r--engines/titanic/game/pet/pet_position.h3
-rw-r--r--engines/titanic/game/pet/pet_transport.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/engines/titanic/game/pet/pet_monitor.h b/engines/titanic/game/pet/pet_monitor.h
index f8a35292fa..5cf14f38cb 100644
--- a/engines/titanic/game/pet/pet_monitor.h
+++ b/engines/titanic/game/pet/pet_monitor.h
@@ -28,7 +28,8 @@
namespace Titanic {
-class CPETMonitor : public CGameObject, CEnterRoomMsgTarget {
+class CPETMonitor : public CGameObject,
+ public CEnterRoomMsgTarget {
protected:
virtual bool handleMessage(CEnterRoomMsg &msg);
public:
diff --git a/engines/titanic/game/pet/pet_position.h b/engines/titanic/game/pet/pet_position.h
index fe28a13777..820df41c50 100644
--- a/engines/titanic/game/pet/pet_position.h
+++ b/engines/titanic/game/pet/pet_position.h
@@ -28,7 +28,8 @@
namespace Titanic {
-class CPETPosition : public CGameObject, CEnterRoomMsgTarget {
+class CPETPosition : public CGameObject,
+ public CEnterRoomMsgTarget {
protected:
virtual bool handleMessage(CEnterRoomMsg &msg);
public:
diff --git a/engines/titanic/game/pet/pet_transport.h b/engines/titanic/game/pet/pet_transport.h
index e43cbef849..8dd3f3aac5 100644
--- a/engines/titanic/game/pet/pet_transport.h
+++ b/engines/titanic/game/pet/pet_transport.h
@@ -28,7 +28,8 @@
namespace Titanic {
-class CPETTransport : public CGameObject, CEnterRoomMsgTarget {
+class CPETTransport : public CGameObject,
+ public CEnterRoomMsgTarget {
protected:
virtual bool handleMessage(CEnterRoomMsg &msg);
public: