aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_rooms_glyphs.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-01 19:37:16 -0400
committerPaul Gilbert2016-08-01 19:37:16 -0400
commit903dc7d1d27ae9bbbca6b768c6511763e9755407 (patch)
tree1285a0454f434e5f7e09dfb6b54ae9cf94203e64 /engines/titanic/pet_control/pet_rooms_glyphs.cpp
parenta736282cf8738c5bf4877e9d7841d2106ad42b11 (diff)
downloadscummvm-rg350-903dc7d1d27ae9bbbca6b768c6511763e9755407.tar.gz
scummvm-rg350-903dc7d1d27ae9bbbca6b768c6511763e9755407.tar.bz2
scummvm-rg350-903dc7d1d27ae9bbbca6b768c6511763e9755407.zip
TITANIC: Fix infinite recursion in CPetRoomsGlyph
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms_glyphs.cpp')
-rw-r--r--engines/titanic/pet_control/pet_rooms_glyphs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.cpp b/engines/titanic/pet_control/pet_rooms_glyphs.cpp
index 851ca0cb7a..d9e19b1f67 100644
--- a/engines/titanic/pet_control/pet_rooms_glyphs.cpp
+++ b/engines/titanic/pet_control/pet_rooms_glyphs.cpp
@@ -174,7 +174,7 @@ void CPetRoomsGlyph::saveGlyph(SimpleFile *file, int indent) {
bool CPetRoomsGlyph::proc33(CPetGlyph *glyph) {
CPetRoomsGlyph *roomGlyph = static_cast<CPetRoomsGlyph *>(glyph);
- return proc33(glyph) && _roomFlags == roomGlyph->_roomFlags;
+ return CPetGlyph::proc33(glyph) && _roomFlags == roomGlyph->_roomFlags;
}
void CPetRoomsGlyph::loadFlags(SimpleFile *file, int val) {