aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-16 13:13:02 -0700
committermaximius <none@none>2009-10-16 13:13:02 -0700
commitfcf480dcaada9c276f1eacb34b40fcb98134ae63 (patch)
tree152c611aad61838a87e03946f95b8f7c1a0bd9e1 /src
parentad8aed5c0c385a5c4c9358598e13f602d752ccbd (diff)
*Custom Wintergrasp Honor check, to handle some uncalculated variables, by Gyullo
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Wintergrasp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Wintergrasp.cpp b/src/game/Wintergrasp.cpp
index 1f24aba336b..7775ccdc28a 100644
--- a/src/game/Wintergrasp.cpp
+++ b/src/game/Wintergrasp.cpp
@@ -987,6 +987,8 @@ void OPvPWintergrasp::EndBattle()
uint32 spellRewardId = (team == m_defender) ? SPELL_VICTORY_REWARD : SPELL_DEFEAT_REWARD;
int32 honor;
uint32 marks;
+ m_towerDamagedCount = 0; //until a function calculate it
+ m_towerCount = 3;
if (sWorld.getConfig(CONFIG_OUTDOORPVP_WINTERGRASP_CUSTOM_HONOR))
{