HDB: Fix warnings

This commit is contained in:
Eugene Sandulenko 2019-07-09 11:45:19 +02:00
parent d12d3ee647
commit c71426e2f8
2 changed files with 5 additions and 2 deletions

View File

@ -2058,6 +2058,9 @@ void aiFatFrogAction(AIEntity *e) {
e->animFrame++;
}
break;
default:
// no op
break;
}
}

View File

@ -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;