diff options
author | Eugene Sandulenko | 2019-07-05 13:26:58 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:12 +0200 |
commit | 6feed893deb1262e6e0c74ed1aece2306aa62241 (patch) | |
tree | 3e34b5959841173678ea9d4a607861317570fe08 /engines/hdb | |
parent | 9a0e685f0e76ceca6d525e81ea167483472af73a (diff) | |
download | scummvm-rg350-6feed893deb1262e6e0c74ed1aece2306aa62241.tar.gz scummvm-rg350-6feed893deb1262e6e0c74ed1aece2306aa62241.tar.bz2 scummvm-rg350-6feed893deb1262e6e0c74ed1aece2306aa62241.zip |
HDB: Fix warning
Diffstat (limited to 'engines/hdb')
-rw-r--r-- | engines/hdb/ai-bots.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp index f9f648638a..95d11f0545 100644 --- a/engines/hdb/ai-bots.cpp +++ b/engines/hdb/ai-bots.cpp @@ -1960,6 +1960,8 @@ void aiGatePuddleAction(AIEntity *e) { case DIR_RIGHT: g_hdb->_ai->setEntityGoal(p, p->tileX + 1, p->tileY); break; + case DIR_NONE: + break; } g_hdb->_ai->_playerEmerging = true; break; @@ -2105,9 +2107,9 @@ void aiIcePuffAction(AIEntity *e) { case 12: e->draw = e->blinkGfx[2]; break; // peek - blinking case 8: e->draw = e->blinkGfx[1]; break; // peek - looking case 4: e->draw = e->blinkGfx[0]; break; // peek - looking - case 3: - if (e->onScreen && !g_hdb->_rnd->getRandomNumber(6)) - g_hdb->_sound->playSound(SND_ICEPUFF_WARNING); + case 3: + if (e->onScreen && !g_hdb->_rnd->getRandomNumber(6)) + g_hdb->_sound->playSound(SND_ICEPUFF_WARNING); break; case 0: e->draw = e->blinkGfx[3]; // underground e->sequence = 30; |