diff options
author | Eugene Sandulenko | 2019-08-08 00:20:26 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:32 +0200 |
commit | 5a0305bb9a5b1e1a57f2c648101312e2935992a8 (patch) | |
tree | c17a0f564a1d16ff271175924b964f79bf4c3fec | |
parent | 4406d89743edf6ee8c97bfa87442b02d60196868 (diff) | |
download | scummvm-rg350-5a0305bb9a5b1e1a57f2c648101312e2935992a8.tar.gz scummvm-rg350-5a0305bb9a5b1e1a57f2c648101312e2935992a8.tar.bz2 scummvm-rg350-5a0305bb9a5b1e1a57f2c648101312e2935992a8.zip |
HDB: Fix warnings
-rw-r--r-- | engines/hdb/ai-funcs.cpp | 2 | ||||
-rw-r--r-- | engines/hdb/map.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/hdb/ai-funcs.cpp b/engines/hdb/ai-funcs.cpp index 73e0b8e203..a633952428 100644 --- a/engines/hdb/ai-funcs.cpp +++ b/engines/hdb/ai-funcs.cpp @@ -2238,7 +2238,7 @@ void AI::getItemSound(AIType type) { g_hdb->_sound->playSound(SND_GET_THING); break; } - // fall through if it is PPC + // fall through default: g_hdb->_sound->playSound(SND_GET_THING); } } diff --git a/engines/hdb/map.cpp b/engines/hdb/map.cpp index cd605a984b..5defd8680e 100644 --- a/engines/hdb/map.cpp +++ b/engines/hdb/map.cpp @@ -632,6 +632,7 @@ bool Map::load(Common::SeekableReadStream *stream) { case AI_DEADEYE: if (_iconList[i].value1 == 1) // For non-moving DeadEyes break; + // fall through case AI_FOURFIRER: case AI_LISTENBOT: case ITEM_CLUB: |