Misc: Use [[fallthrough]] attribute instead of comment to mark intentional fallthroughs (#25054)

Related: #25006
(cherry picked from commit 85b5b842ca)
This commit is contained in:
Peter Keresztes Schmidt
2020-07-18 20:42:28 +02:00
committed by Shauren
parent fda8a09766
commit ad340466d0
40 changed files with 60 additions and 62 deletions

View File

@@ -2214,7 +2214,6 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
}
break;
}
/* fallthrough */
case SMART_ACTION_SET_CORPSE_DELAY:
{
for (WorldObject* const target : targets)