From df5853c399f70191e83543fe677a09c975c42c04 Mon Sep 17 00:00:00 2001 From: megamage Date: Sun, 9 Aug 2009 14:51:53 -0500 Subject: [PATCH] *Fix a typo of Icebound Fortitude which causes crash. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 82e12a8611..c303e5cdb1 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -957,7 +957,7 @@ void Aura::HandleAuraSpecificMods(bool apply) if(AuraEffect *auraeff = GetPartAura(2)) { int32 value = int32((auraeff->GetAmount()*-1)-10); - uint32 defva = uint32(((Player*)caster)->GetSkillValue(SKILL_DEFENSE) + ((Player*)this)->GetRatingBonusValue(CR_DEFENSE_SKILL)); + uint32 defva = uint32(((Player*)caster)->GetSkillValue(SKILL_DEFENSE) + ((Player*)caster)->GetRatingBonusValue(CR_DEFENSE_SKILL)); if(defva > 400) value += int32((defva-400)*0.15);