Maps/Instances: Implement handling of CMSG_SET_SAVED_INSTANCE_EXTEND

This commit is contained in:
treeston committed 2016-02-10 19:35:11 +01:00
1 parent cfed2d7a3d
commit 6102a7937d
17 files changed
+232 -77

No files matched your search

+2 -2
View File
@@ -1368,9 +1368,9 @@ void ScriptMgr::OnPlayerSave(Player* player)
FOREACH_SCRIPT(PlayerScript)->OnSave(player);
}
void ScriptMgr::OnPlayerBindToInstance(Player* player, Difficulty difficulty, uint32 mapid, bool permanent)
void ScriptMgr::OnPlayerBindToInstance(Player* player, Difficulty difficulty, uint32 mapid, bool permanent, uint8 extendState)
{
FOREACH_SCRIPT(PlayerScript)->OnBindToInstance(player, difficulty, mapid, permanent);
FOREACH_SCRIPT(PlayerScript)->OnBindToInstance(player, difficulty, mapid, permanent, extendState);
}
void ScriptMgr::OnPlayerUpdateZone(Player* player, uint32 newZone, uint32 newArea)