aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/SmartScripts/SmartScript.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp
index 725c6027f61..d5b59d88272 100644
--- a/src/server/game/AI/SmartScripts/SmartScript.cpp
+++ b/src/server/game/AI/SmartScripts/SmartScript.cpp
@@ -3001,10 +3001,12 @@ void SmartScript::ProcessEvent(SmartScriptHolder& e, Unit* unit, uint32 var0, ui
// OnGossipHello only filter set, skip action if OnReportUse
if (var0)
return;
+ break;
case 2:
// OnReportUse only filter set, skip action if OnGossipHello
if (!var0)
return;
+ break;
default:
// Ignore any other value
break;