aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorD G Turner2018-11-13 08:31:06 +0000
committerD G Turner2018-11-13 08:31:06 +0000
commit509fe6f3c2def28a32961f065a20e55a280534b3 (patch)
tree4806c0329dd73fea5c17db71825c75e330437c49 /engines
parent61526fa317fec043acf90bb1bfbb08e96681689e (diff)
downloadscummvm-rg350-509fe6f3c2def28a32961f065a20e55a280534b3.tar.gz
scummvm-rg350-509fe6f3c2def28a32961f065a20e55a280534b3.tar.bz2
scummvm-rg350-509fe6f3c2def28a32961f065a20e55a280534b3.zip
BLADERUNNER: Fix Fall Through Compiler Warnings
Clang and newer versions of GCC i.e. v8.2 require the comment to match "fall through" to surpress warnings so change "no break" comments to match.
Diffstat (limited to 'engines')
-rw-r--r--engines/bladerunner/script/ai/officer_leary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/script/ai/officer_leary.cpp b/engines/bladerunner/script/ai/officer_leary.cpp
index 0adbe7c1c0..db3725165a 100644
--- a/engines/bladerunner/script/ai/officer_leary.cpp
+++ b/engines/bladerunner/script/ai/officer_leary.cpp
@@ -423,7 +423,7 @@ bool AIScriptOfficerLeary::GoalChanged(int currentGoalNumber, int newGoalNumber)
default:
return false;
}
- //no break
+ // fall through
case 9:
if (Random_Query(1, 2) - 1 == 1) {
AI_Movement_Track_Append(kActorOfficerLeary, 433, 10);
@@ -452,7 +452,7 @@ bool AIScriptOfficerLeary::GoalChanged(int currentGoalNumber, int newGoalNumber)
default:
return false;
}
- //no break
+ // fall through
case 306:
Actor_Set_Goal_Number(kActorOfficerLeary, 305);
return true;