TITANIC: Fix infinite recursion in CPetRoomsGlyph

This commit is contained in:
Paul Gilbert 2016-08-01 19:37:16 -04:00
parent a736282cf8
commit 903dc7d1d2

View File

@ -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) {