From 2741a3ea1c6bf4b8af1defcf4e31246cfc475466 Mon Sep 17 00:00:00 2001 From: LannyE <65646022+LannyE@users.noreply.github.com> Date: Sun, 7 Feb 2021 10:03:01 -0700 Subject: [PATCH] Fix Bug(cpp): SmartScriptMgr.cpp - Event Start and Stop not working (#4392) --- src/server/game/AI/SmartScripts/SmartScriptMgr.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp index 96f3afb4272b15..a302fd1d5faf2b 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp @@ -1059,7 +1059,6 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e) break; case SMART_ACTION_GAME_EVENT_STOP: { - return false; uint32 eventId = e.action.gameEventStop.id; GameEventMgr::GameEventDataMap const& events = sGameEventMgr->GetEventMap(); @@ -1079,7 +1078,6 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e) } case SMART_ACTION_GAME_EVENT_START: { - return false; uint32 eventId = e.action.gameEventStart.id; GameEventMgr::GameEventDataMap const& events = sGameEventMgr->GetEventMap();