aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/moonbase
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-11 20:53:21 +0200
committerEugene Sandulenko2017-08-11 20:53:21 +0200
commitb840320c5bc532973bb622bbe5c34b1284734b63 (patch)
treec93a8d09ccfcd74efc7692bd63769000e50cb693 /engines/scumm/he/moonbase
parente3d720f09b7e3455aa34ea5ac26e9c935100570f (diff)
downloadscummvm-rg350-b840320c5bc532973bb622bbe5c34b1284734b63.tar.gz
scummvm-rg350-b840320c5bc532973bb622bbe5c34b1284734b63.tar.bz2
scummvm-rg350-b840320c5bc532973bb622bbe5c34b1284734b63.zip
SCUMM: Moonbase: Mark original bug as fall through to silence GCC 7 warning
Diffstat (limited to 'engines/scumm/he/moonbase')
-rw-r--r--engines/scumm/he/moonbase/ai_targetacquisition.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/scumm/he/moonbase/ai_targetacquisition.cpp b/engines/scumm/he/moonbase/ai_targetacquisition.cpp
index a6a4e8e663..53acffa00f 100644
--- a/engines/scumm/he/moonbase/ai_targetacquisition.cpp
+++ b/engines/scumm/he/moonbase/ai_targetacquisition.cpp
@@ -261,7 +261,8 @@ float Sortie::calcH() {
if ((*i)->getState() == DUS_ON) {
switch ((*i)->getType()) {
case DUT_ANTI_AIR:
- retValue += 1;
+ retValue += 1; // Is it bug in the original? Fixing it may break replay compatibility
+ // fall through
case DUT_MINE:
retValue += 1;