Fix Bug(cpp): SmartScriptMgr.cpp - Event Start and Stop not working (#4392)

This commit is contained in:
LannyE
2021-02-07 10:03:01 -07:00
committed by GitHub
parent e4695cc74b
commit 2741a3ea1c

View File

@@ -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();