From 509fe6f3c2def28a32961f065a20e55a280534b3 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 13 Nov 2018 08:31:06 +0000 Subject: 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. --- engines/bladerunner/script/ai/officer_leary.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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; -- cgit v1.2.3