mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-15 13:35:08 +00:00
Fix Bug(cpp): SmartScriptMgr.cpp - Event Start and Stop not working (#4392)
This commit is contained in:
@@ -1059,7 +1059,6 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
|
|||||||
break;
|
break;
|
||||||
case SMART_ACTION_GAME_EVENT_STOP:
|
case SMART_ACTION_GAME_EVENT_STOP:
|
||||||
{
|
{
|
||||||
return false;
|
|
||||||
uint32 eventId = e.action.gameEventStop.id;
|
uint32 eventId = e.action.gameEventStop.id;
|
||||||
|
|
||||||
GameEventMgr::GameEventDataMap const& events = sGameEventMgr->GetEventMap();
|
GameEventMgr::GameEventDataMap const& events = sGameEventMgr->GetEventMap();
|
||||||
@@ -1079,7 +1078,6 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
|
|||||||
}
|
}
|
||||||
case SMART_ACTION_GAME_EVENT_START:
|
case SMART_ACTION_GAME_EVENT_START:
|
||||||
{
|
{
|
||||||
return false;
|
|
||||||
uint32 eventId = e.action.gameEventStart.id;
|
uint32 eventId = e.action.gameEventStart.id;
|
||||||
|
|
||||||
GameEventMgr::GameEventDataMap const& events = sGameEventMgr->GetEventMap();
|
GameEventMgr::GameEventDataMap const& events = sGameEventMgr->GetEventMap();
|
||||||
|
|||||||
Reference in New Issue
Block a user