From fcf480dcaada9c276f1eacb34b40fcb98134ae63 Mon Sep 17 00:00:00 2001 From: maximius Date: Fri, 16 Oct 2009 13:13:02 -0700 Subject: *Custom Wintergrasp Honor check, to handle some uncalculated variables, by Gyullo --HG-- branch : trunk --- src/game/Wintergrasp.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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)) { -- cgit v1.2.3