diff options
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms_glyphs.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_rooms_glyphs.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.cpp b/engines/titanic/pet_control/pet_rooms_glyphs.cpp index 1048180369..786049791e 100644 --- a/engines/titanic/pet_control/pet_rooms_glyphs.cpp +++ b/engines/titanic/pet_control/pet_rooms_glyphs.cpp @@ -23,6 +23,7 @@ #include "titanic/pet_control/pet_rooms_glyphs.h" #include "titanic/pet_control/pet_section.h" #include "titanic/support/screen_manager.h" +#include "titanic/room_flags.h" namespace Titanic { @@ -83,6 +84,12 @@ void CPetRoomsGlyph::proc39() { } +void CPetRoomsGlyph::changeLocation(int newClassNum) { + CRoomFlags roomFlags(_roomFlags); + roomFlags.changeLocation(newClassNum); + _roomFlags = roomFlags.get(); +} + /*------------------------------------------------------------------------*/ void CPetRoomsGlyphs::save2(SimpleFile *file, int indent) const { |