aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/pet/pet_position.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/game/pet/pet_position.h')
-rw-r--r--engines/titanic/game/pet/pet_position.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/titanic/game/pet/pet_position.h b/engines/titanic/game/pet/pet_position.h
index 407a42f0ae..d72f42ca3a 100644
--- a/engines/titanic/game/pet/pet_position.h
+++ b/engines/titanic/game/pet/pet_position.h
@@ -24,10 +24,13 @@
#define TITANIC_PET_POSITION_H
#include "titanic/core/game_object.h"
+#include "titanic/messages/messages.h"
namespace Titanic {
-class CPETPosition : public CGameObject {
+class CPETPosition : public CGameObject, CEnterRoomMsgTarget {
+protected:
+ virtual bool handleEvent(const CEnterRoomMsg &msg);
public:
CLASSDEF