From 2bb0c319789c893255d94556bd8a819f96be0c0d Mon Sep 17 00:00:00 2001 From: maximius Date: Fri, 11 Sep 2009 16:25:11 -0700 Subject: *[8474] Allow to delete BattleGround objects when any of invited players didn't click to enter battle. Rename m_TeamScores500disadvantage to m_TeamScores500Disadvantage, and optimize its update. Patch is tested. Author: Triply *Added some missed changes that might of broken compile in the last 2~ commits. *Some fixes to Warlock's Death Coil by Gyullo. *Last MaNGOS merge until KingPin says otherwise.. --HG-- branch : trunk --- src/game/SpellEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/SpellEffects.cpp') diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index f8f7fd8a6e6..35db1b0cc04 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2749,7 +2749,7 @@ void Spell::EffectHealthLeech(uint32 i) if (m_spellInfo->SpellFamilyFlags[0] & 0x80000) new_damage = damage; else - int32 new_damage = int32(damage*multiplier); + new_damage = int32(damage*multiplier); uint32 curHealth = unitTarget->GetHealth(); new_damage = m_caster->SpellNonMeleeDamageLog(unitTarget, m_spellInfo->Id, new_damage ); if(curHealth < new_damage) -- cgit v1.2.3