From c551b23b1533651f4dc4f53cb9b72dcc83136edb Mon Sep 17 00:00:00 2001 From: Spp Date: Fri, 21 May 2010 12:25:03 +0200 Subject: [PATCH] Fix Typo in previous commit Fixes issue 2295 --HG-- branch : trunk --- src/game/Spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 9535e98baa1..533c2ed8822 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -5203,7 +5203,7 @@ SpellCastResult Spell::CheckCast(bool strict) Unit* target = m_targets.getUnitTarget(); if (m_caster == target && m_caster->hasUnitState(UNIT_STAT_ROOT)) { - if (m_caster->GetTypeID() == TYPEID_PLAYER) + if (m_caster->GetTypeId() == TYPEID_PLAYER) return SPELL_FAILED_ROOTED; else return SPELL_FAILED_DONT_REPORT;