aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/transport
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/transport
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/transport')
-rw-r--r--engines/titanic/game/transport/lift.h3
-rw-r--r--engines/titanic/game/transport/pellerator.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/game/transport/lift.h b/engines/titanic/game/transport/lift.h
index 4f628231e8..c2a18df4dd 100644
--- a/engines/titanic/game/transport/lift.h
+++ b/engines/titanic/game/transport/lift.h
@@ -28,7 +28,8 @@
namespace Titanic {
-class CLift : public CTransport, CEnterRoomMsgTarget {
+class CLift : public CTransport,
+ public CEnterRoomMsgTarget {
private:
static int _v1;
static int _v2;
diff --git a/engines/titanic/game/transport/pellerator.h b/engines/titanic/game/transport/pellerator.h
index 03e45751b2..b97d17ff88 100644
--- a/engines/titanic/game/transport/pellerator.h
+++ b/engines/titanic/game/transport/pellerator.h
@@ -28,7 +28,8 @@
namespace Titanic {
-class CPellerator : public CTransport, CEnterRoomMsgTarget {
+class CPellerator : public CTransport,
+ public CEnterRoomMsgTarget {
private:
static int _v1;
static int _v2;