diff options
author | Paul Gilbert | 2016-06-23 19:08:45 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:24:15 -0400 |
commit | 54eac84dc5051c9833ea96f0be6c7b44ba262817 (patch) | |
tree | 566740174dcece7b7c8ebf71db5b0e886e41491d /engines/titanic/pet_control/pet_rooms_glyphs.cpp | |
parent | 3fb8c888a76762160179f331b2df2d3fa967b242 (diff) | |
download | scummvm-rg350-54eac84dc5051c9833ea96f0be6c7b44ba262817.tar.gz scummvm-rg350-54eac84dc5051c9833ea96f0be6c7b44ba262817.tar.bz2 scummvm-rg350-54eac84dc5051c9833ea96f0be6c7b44ba262817.zip |
TITANIC: Fix compilation issues
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms_glyphs.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_rooms_glyphs.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.cpp b/engines/titanic/pet_control/pet_rooms_glyphs.cpp index 786049791e..9ecaefbf68 100644 --- a/engines/titanic/pet_control/pet_rooms_glyphs.cpp +++ b/engines/titanic/pet_control/pet_rooms_glyphs.cpp @@ -80,8 +80,10 @@ int CPetRoomsGlyph::proc33() { return 1; } -void CPetRoomsGlyph::proc39() { - +void CPetRoomsGlyph::loadFlags(SimpleFile *file, int val) { + if (!val) { + _roomFlags = file->readNumber(); + } } void CPetRoomsGlyph::changeLocation(int newClassNum) { |