aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-16 20:13:11 +0200
committerEugene Sandulenko2019-09-03 17:17:21 +0200
commitfe0082b4d6e79ba788a0c72e04e911b5011ffc0e (patch)
treeba02211257b4077bf6918a92257b5dad83169477
parenta1645e29583e1f6b4dab26fb6fc49cadc0c0cad1 (diff)
downloadscummvm-rg350-fe0082b4d6e79ba788a0c72e04e911b5011ffc0e.tar.gz
scummvm-rg350-fe0082b4d6e79ba788a0c72e04e911b5011ffc0e.tar.bz2
scummvm-rg350-fe0082b4d6e79ba788a0c72e04e911b5011ffc0e.zip
HDB: Fix warnings
-rw-r--r--engines/hdb/ai-bots.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp
index 90f74b962d..2234bc5732 100644
--- a/engines/hdb/ai-bots.cpp
+++ b/engines/hdb/ai-bots.cpp
@@ -721,6 +721,7 @@ void aiRailRiderOnAction(AIEntity *e) {
case -1:
if (!p->goalX)
e->sequence = 1; // Boarded yet?
+ // fallthrough
// Cycle Animation Frames
case 3:
if (e->animDelay-- > 0)
@@ -740,6 +741,7 @@ void aiRailRiderOnAction(AIEntity *e) {
g_hdb->_sound->playSound(SND_RAILRIDER_TASTE);
e->sequence = 2;
e->value1 = 0;
+ // fallthrough
// New RailRider gfx
// Move the RailRider