aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-01-03 13:44:42 +0100
committerGitHub <noreply@github.com>2020-01-03 13:44:42 +0100
commit677834dca7fc8a010830c9b3c2a6be5af33fdfbb (patch)
tree8b84c8e94d0784487f70e16a112b49f2814e371f
parent39fa513e714d83761e5d04f908b411e22c40d385 (diff)
Core/SAI: Add missing break (fixes incorrect db errors)
-rw-r--r--src/server/game/AI/SmartScripts/SmartScriptMgr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
index 66874ba2112..83a91e5eb70 100644
--- a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
+++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
@@ -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)