Core/Misc: Fix GCC 8 warnings

This commit is contained in:
jackpoz authored and Ovahlord committed 2020-01-31 21:19:25 +01:00
1 parent 8714c2be57
commit 183789053e
20 files changed
+55 -49

No files matched your search

@@ -1196,7 +1196,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
TC_LOG_ERROR("sql.sql", "SmartAIMgr: Entry %d SourceType %u Event %u Action %u has invoker cast action, but event does not provide any invoker!", e.entryOrGuid, e.GetScriptType(), e.GetEventType(), e.GetActionType());
return false;
}
// no break
/* fallthrough */
case SMART_ACTION_SELF_CAST:
case SMART_ACTION_ADD_AURA:
if (!IsSpellValid(e, e.action.cast.spell))