Mutilate fix - by _krz.

--HG--
branch : trunk
This commit is contained in:
raczman
2009-03-21 14:34:03 +01:00
parent f5116e0e78
commit c6860a28f6
3 changed files with 9 additions and 16 deletions
+1
View File
@@ -2378,6 +2378,7 @@ template <class T> T Player::ApplySpellMod(uint32 spellId, SpellModOp op, T &bas
if (mod->charges > 0 )
{
if( !(spellInfo->SpellFamilyName == 8 && spellInfo->SpellFamilyFlags & 0x200000000LL) )
--mod->charges;
if (mod->charges == 0)
{