Skip to content

Commit

Permalink
Fix Bug(cpp): SmartScriptMgr.cpp - Event Start and Stop not working (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
LannyE committed Feb 7, 2021
1 parent e4695cc commit 2741a3e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit 2741a3e

Please sign in to comment.