mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-19 02:38:32 +00:00
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.
This commit is contained in:
parent
61526fa317
commit
509fe6f3c2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user