From cbdecc082809ce37ad7bf0f825b63a88c0f94e38 Mon Sep 17 00:00:00 2001 From: Matteo Emili Date: Sun, 29 Jan 2017 22:03:03 +0100 Subject: Fixed hooks OnPlayerJoinArena and OnPlayerJoinBG --- src/game/Scripting/ScriptMgr.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/game/Scripting/ScriptMgr.cpp') diff --git a/src/game/Scripting/ScriptMgr.cpp b/src/game/Scripting/ScriptMgr.cpp index 9031dd2e82..1be672520b 100644 --- a/src/game/Scripting/ScriptMgr.cpp +++ b/src/game/Scripting/ScriptMgr.cpp @@ -1344,14 +1344,14 @@ void ScriptMgr::OnEquip(Player* player, Item* it, uint8 bag, uint8 slot, bool up FOREACH_SCRIPT(PlayerScript)->OnEquip(player, it, bag, slot, update); } -void ScriptMgr::OnPlayerJoinBG(Player* player, Battleground* bg) +void ScriptMgr::OnPlayerJoinBG(Player* player) { - FOREACH_SCRIPT(PlayerScript)->OnPlayerJoinBG(player, bg); + FOREACH_SCRIPT(PlayerScript)->OnPlayerJoinBG(player); } -void ScriptMgr::OnPlayerJoinArena(Player* player, Battleground* bg) +void ScriptMgr::OnPlayerJoinArena(Player* player) { - FOREACH_SCRIPT(PlayerScript)->OnPlayerJoinArena(player, bg); + FOREACH_SCRIPT(PlayerScript)->OnPlayerJoinArena(player); } void ScriptMgr::OnLootItem(Player* player, Item* item, uint32 count, uint64 lootguid) -- cgit v1.2.3