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 | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index 19cae3f330..9134a50915 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -1604,10 +1604,10 @@ int CGameObject::petGetRoomsWellEntry() const { return petControl ? petControl->getRoomsWellEntry() : 0; } -void CGameObject::petSetRooms1D4(int v) { +void CGameObject::petSetRoomsElevatorBroken(bool flag) { CPetControl *pet = getPetControl(); if (pet) - pet->setRooms1D4(v); + pet->setRoomsElevatorBroken(flag); } void CGameObject::petOnSummonBot(const CString &name, int val) { diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h index 744887a04b..078e63267d 100644 --- a/engines/titanic/core/game_object.h +++ b/engines/titanic/core/game_object.h @@ -908,8 +908,10 @@ public: */ void petSetRoomsWellEntry(int entryNum); - void petSetRooms1D4(int v); - + /** + * Sets the flag for whether elevator 4 has yet been fixed + */ + void petSetRoomsElevatorBroken(bool flag); /** * Show the PET |