diff options
| author | SnapperRy <snapperryen@gmail.com> | 2016-07-05 03:11:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-05 03:11:21 +0200 |
| commit | b20912c8f6972360596c8b52360f6dd1d584c93e (patch) | |
| tree | f093c4e53fae230f44b893970797d61949c22ff7 | |
| parent | 5800cd8248f3d447df7974352c86d125048afe1f (diff) | |
Core/Spell: allow use of ground mounts while swimming (#17488)
| -rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 1289610c5d4..8a144029ce0 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -5498,7 +5498,7 @@ SpellCastResult Spell::CheckCast(bool strict) } case SPELL_AURA_MOUNTED: { - if (m_caster->IsInWater()) + if (m_caster->IsInWater() && m_spellInfo->HasAura(SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED)) return SPELL_FAILED_ONLY_ABOVEWATER; // Ignore map check if spell have AreaId. AreaId already checked and this prevent special mount spells |
