* 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:
XTZGZoReX
2010-08-07 13:07:18 +02:00
parent 9a592f44af
commit 87483be1e7
6 changed files with 77 additions and 77 deletions
@@ -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);