diff options
author | Eugene Sandulenko | 2017-08-11 20:53:21 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-11 20:53:21 +0200 |
commit | b840320c5bc532973bb622bbe5c34b1284734b63 (patch) | |
tree | c93a8d09ccfcd74efc7692bd63769000e50cb693 /engines/scumm/he/moonbase | |
parent | e3d720f09b7e3455aa34ea5ac26e9c935100570f (diff) | |
download | scummvm-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.cpp | 3 |
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; |