diff options
author | Paul Gilbert | 2016-12-25 23:54:00 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-12-25 23:54:00 -0500 |
commit | 81cb0f11dbad5e1744807a926f245c4b2e8307be (patch) | |
tree | d88864528ce5aeb25ebac1450594a988377f9b4e /engines/titanic/pet_control/pet_control.h | |
parent | 9755109fddf1da1da1e3322823aa212447f85d14 (diff) | |
download | scummvm-rg350-81cb0f11dbad5e1744807a926f245c4b2e8307be.tar.gz scummvm-rg350-81cb0f11dbad5e1744807a926f245c4b2e8307be.tar.bz2 scummvm-rg350-81cb0f11dbad5e1744807a926f245c4b2e8307be.zip |
TITANIC: Cleanup and fixes for class checks when SuccUBus sucking
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r-- | engines/titanic/pet_control/pet_control.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h index 0a8b6295be..a63c29d6b3 100644 --- a/engines/titanic/pet_control/pet_control.h +++ b/engines/titanic/pet_control/pet_control.h @@ -522,11 +522,14 @@ public: } /** - * Get mail destination given the specified flags + * Get the passenger class of the specified room flags */ - int getMailDest(const CRoomFlags &roomFlags) const; + PassengerClass getMailDestClass(const CRoomFlags &roomFlags) const; - bool testRooms5(uint roomFlags) { + /** + * Returns whether the given room flags specify a location with a SuccUBus + */ + bool isSuccUBusDest(uint roomFlags) { return CRoomFlags(roomFlags).not5(); } |