summaryrefslogtreecommitdiff
path: root/src/game/Scripting/ScriptMgr.cpp
diff options
context:
space:
mode:
authorMatteo Emili <matteo.emili14@gmail.com>2017-01-29 22:03:03 +0100
committerYehonal <yehonal.azeroth@gmail.com>2017-03-26 01:09:36 +0100
commitcbdecc082809ce37ad7bf0f825b63a88c0f94e38 (patch)
tree50b6b2102cf80dae1c5f9c0a3231d8587b331e9b /src/game/Scripting/ScriptMgr.cpp
parent25a38da1e308f45db6445f885cf3466d6cbcfd03 (diff)
Fixed hooks OnPlayerJoinArena and OnPlayerJoinBG
Diffstat (limited to 'src/game/Scripting/ScriptMgr.cpp')
-rw-r--r--src/game/Scripting/ScriptMgr.cpp8
1 files changed, 4 insertions, 4 deletions
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)