diff options
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/ai-bots.cpp | 3 | ||||
-rw-r--r-- | engines/hdb/ai-init.cpp | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp index ec1cc6b6e7..15414778cf 100644 --- a/engines/hdb/ai-bots.cpp +++ b/engines/hdb/ai-bots.cpp @@ -2058,6 +2058,9 @@ void aiFatFrogAction(AIEntity *e) { e->animFrame++; } break; + default: + // no op + break; } } diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp index b76e55eb0d..7fd3551881 100644 --- a/engines/hdb/ai-init.cpp +++ b/engines/hdb/ai-init.cpp @@ -1729,8 +1729,8 @@ void AI::loadSaveFile(Common::InSaveFile *in) { // Cache Gfx for Panic Zone, if needed for (i = 0; i < _numTeleporters; i++) - if ((_teleporters[i].anim1 == 2) || - (_teleporters[i].anim2 == 2) && + if (((_teleporters[i].anim1 == 2) || + (_teleporters[i].anim2 == 2)) && !g_hdb->_window->_pzInfo.gfxPanic) { g_hdb->_window->loadPanicZoneGfx(); break; |