Core/Misc: Fixed clang 13 warnings, gcc 11 build errors and nopch build

This commit is contained in:
Shauren
2021-10-25 00:05:05 +02:00
parent 0c681b6509
commit b13e9f9d61
6 changed files with 5 additions and 5 deletions

View File

@@ -1287,7 +1287,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
TC_LOG_ERROR("sql.sql", "SmartAIMgr: Entry " SI64FMTD " 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))