Core/SAI: Add missing break (fixes incorrect db errors)

This commit is contained in:
Shauren
2020-01-03 13:44:42 +01:00
committed by GitHub
parent 39fa513e71
commit 677834dca7

View File

@@ -1504,6 +1504,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
TC_LOG_ERROR("sql.sql", "Entry %u SourceType %u Event %u Action %u does not specify duration", e.entryOrGuid, e.GetScriptType(), e.event_id, e.GetActionType());
return false;
}
break;
case SMART_ACTION_SET_MOVEMENT_SPEED:
{
if (e.action.movementSpeed.movementType >= MAX_MOVE_TYPE)