diff options
Diffstat (limited to 'engines/titanic/core')
-rw-r--r-- | engines/titanic/core/game_object.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/core/game_object.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index fc25abc98e..3a5f6567a6 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -1426,11 +1426,11 @@ void CGameObject::setState1C(bool flag) { getGameManager()->_gameState._field1C = flag; } -void CGameObject::addMail(int mailId) { +void CGameObject::addMail(uint destRoomFlags) { CMailMan *mailMan = getMailMan(); if (mailMan) { makeDirty(); - mailMan->addMail(this, mailId); + mailMan->addMail(this, destRoomFlags); } } diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h index 8affbd114a..9417fd7aa3 100644 --- a/engines/titanic/core/game_object.h +++ b/engines/titanic/core/game_object.h @@ -794,7 +794,7 @@ public: /** * Adds an object to the mail list */ - void addMail(int mailId); + void addMail(uint destRoomFlags); /** * Remove an object from the mail list |