diff options
Diffstat (limited to 'src/game/Spell.cpp')
| -rw-r--r-- | src/game/Spell.cpp | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 84bd533a406..6cba36d3af1 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -4669,6 +4669,11 @@ SpellCastResult Spell::CheckCast(bool strict)                      if(!unit || !unit->HasAura(17743, 0))                          return SPELL_FAILED_BAD_TARGETS;                  } +                else if (m_spellInfo->Id == 52264)          // Deliver Stolen Horse +                { +                    if(!m_caster->FindNearestCreature(28653,5)) +                        return SPELL_FAILED_OUT_OF_RANGE; +                }                  break;              }              case SPELL_EFFECT_LEARN_SPELL:  | 
