From 91dfeb42bd820968135379c8ad8050ae602ccc1e Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 5 Nov 2023 20:56:46 +1100 Subject: [PATCH] - Blood: Fix GCC fallthrough warning. --- source/games/blood/src/player.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/games/blood/src/player.cpp b/source/games/blood/src/player.cpp index d3a7c307f..aee254658 100644 --- a/source/games/blood/src/player.cpp +++ b/source/games/blood/src/player.cpp @@ -1233,6 +1233,7 @@ bool PickupItem(DBloodPlayer* pPlayer, DBloodActor* itemactor) if (!actHealDude(pPlayer->GetActor(), addPower, gPowerUpInfo[nType].maxTime)) return 0; return 1; } + [[fallthrough]]; case kItemHealthDoctorBag: case kItemJumpBoots: case kItemDivingSuit: