* Rename some more functions for consistency.
* Added missing call to FormulaScript::OnZeroDifferenceCalculation. * Pass GridMap pointer into MapScript::OnLoadGridMap/OnUnloadGridMap. * Fire map hooks for all map types, not only instances. --HG-- branch : trunk
This commit is contained in:
@@ -884,7 +884,7 @@ void WorldSession::HandleAreaTriggerOpcode(WorldPacket & recv_data)
|
||||
}
|
||||
}
|
||||
|
||||
if (sScriptMgr.OnTrigger(GetPlayer(), atEntry))
|
||||
if (sScriptMgr.OnAreaTrigger(GetPlayer(), atEntry))
|
||||
return;
|
||||
|
||||
uint32 quest_id = objmgr.GetQuestForAreaTrigger(Trigger_ID);
|
||||
|
||||
Reference in New Issue
Block a user