aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Battlefield/BattlefieldWG.cpp
diff options
context:
space:
mode:
authorPeter Keresztes Schmidt <carbenium@outlook.com>2020-07-18 20:43:16 +0200
committerGitHub <noreply@github.com>2020-07-18 20:43:16 +0200
commite6e5775be83d07c3221d6690f11184246bec4bf1 (patch)
tree4a331f7421d979bb60a3e78b5fa44430314a541b /src/server/scripts/Battlefield/BattlefieldWG.cpp
parent85b5b842ca6c05d4e51081e6c3282940a80f3761 (diff)
Build: Enable -Wimplicit-fallthrough on clang (#25056)
* Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs Related: #25006 * Misc: Add some missing breaks (no-ops) to satisfy clang Related: #25006 Closes #25055 * Build: Enable -Wimplicit-fallthrough on clang Closes #25006
Diffstat (limited to 'src/server/scripts/Battlefield/BattlefieldWG.cpp')
-rw-r--r--src/server/scripts/Battlefield/BattlefieldWG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/scripts/Battlefield/BattlefieldWG.cpp b/src/server/scripts/Battlefield/BattlefieldWG.cpp
index 94b8287504e..8b33c154eb3 100644
--- a/src/server/scripts/Battlefield/BattlefieldWG.cpp
+++ b/src/server/scripts/Battlefield/BattlefieldWG.cpp
@@ -774,6 +774,7 @@ void BattlefieldWG::DoCompleteOrIncrementAchievement(uint32 achievement, Player*
case ACHIEVEMENTS_WIN_WG_100:
{
// player->UpdateAchievementCriteria();
+ break;
}
default:
{