Core/Scripting: codestyle and comment for previous commit

This commit is contained in:
Kandera
2012-03-02 09:49:44 -05:00
parent c1270bd758
commit 42454640cf
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1297,7 +1297,7 @@ void ScriptMgr::OnPlayerBindToInstance(Player* player, Difficulty difficulty, ui
void ScriptMgr::OnPlayerUpdateZone(Player* player, uint32 newZone, uint32 newArea)
{
FOREACH_SCRIPT(PlayerScript)->OnUpdateZone(player, newZone, newArea);
FOREACH_SCRIPT(PlayerScript)->OnUpdateZone(player, newZone, newArea);
}
// Guild
+1
View File
@@ -725,6 +725,7 @@ class PlayerScript : public ScriptObject
// Called when a player is bound to an instance
virtual void OnBindToInstance(Player* /*player*/, Difficulty /*difficulty*/, uint32 /*mapId*/, bool /*permanent*/) { }
// Called when a player switches to a new zone
virtual void OnUpdateZone(Player* /*player*/, uint32 /*newZone*/, uint32 /*newArea*/) { }
};