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:
D G Turner 2018-11-13 08:31:06 +00:00
parent 61526fa317
commit 509fe6f3c2

View File

@ -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;