mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
Fix Typo in previous commit
Fixes issue 2295 --HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user