summaryrefslogtreecommitdiff
path: root/src/game/Scripting/ScriptMgr.cpp
diff options
context:
space:
mode:
authorGargarensis <gabririchi@yahoo.it>2017-01-31 01:19:01 +0100
committerYehonal <yehonal.azeroth@gmail.com>2017-03-26 01:09:37 +0100
commit813be46f1770d20dd8dca6f62fec652f8b4fe85d (patch)
tree827fb6317ce3a25635386df3ffa0c196eba7eb5e /src/game/Scripting/ScriptMgr.cpp
parentcbdecc082809ce37ad7bf0f825b63a88c0f94e38 (diff)
moved hook from battleground script to formula script
Diffstat (limited to 'src/game/Scripting/ScriptMgr.cpp')
-rw-r--r--src/game/Scripting/ScriptMgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Scripting/ScriptMgr.cpp b/src/game/Scripting/ScriptMgr.cpp
index 1be672520b..67caf6aedf 100644
--- a/src/game/Scripting/ScriptMgr.cpp
+++ b/src/game/Scripting/ScriptMgr.cpp
@@ -1571,9 +1571,9 @@ void ScriptMgr::OnBeforeInitTalentForLevel(Player* player, uint8& level, uint32&
FOREACH_SCRIPT(PlayerScript)->OnBeforeInitTalentForLevel(player, level, talentPointsForLevel);
}
-void ScriptMgr::OnAfterArenaRatingCalculation(Battleground *const bg, int32 &winnerMatchmakerChange, int32 &loserMatchmakerChange)
+void ScriptMgr::OnAfterArenaRatingCalculation(Battleground *const bg, int32 &winnerMatchmakerChange, int32 &loserMatchmakerChange, int32 &winnerChange, int32 &loserChange)
{
- FOREACH_SCRIPT(BattlegroundScript)->OnAfterArenaRatingCalculation(bg, winnerMatchmakerChange, loserMatchmakerChange);
+ FOREACH_SCRIPT(FormulaScript)->OnAfterArenaRatingCalculation(bg, winnerMatchmakerChange, loserMatchmakerChange, winnerChange, loserChange);
}
AllMapScript::AllMapScript(const char* name)