mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[6986] Remove outdated for 3.0.3 area mount limitation.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
0db6b31b70
commit
2b7004a0ab
3 changed files with 2 additions and 8 deletions
|
|
@ -4278,9 +4278,6 @@ uint8 Spell::CanCast(bool strict)
|
|||
if (m_caster->GetTypeId()==TYPEID_PLAYER && !sMapStore.LookupEntry(m_caster->GetMapId())->IsMountAllowed() && !m_IsTriggeredSpell && !m_spellInfo->AreaId)
|
||||
return SPELL_FAILED_NO_MOUNTS_ALLOWED;
|
||||
|
||||
if (m_caster->GetAreaId()==35)
|
||||
return SPELL_FAILED_NO_MOUNTS_ALLOWED;
|
||||
|
||||
ShapeshiftForm form = m_caster->m_form;
|
||||
if( form == FORM_CAT || form == FORM_TREE || form == FORM_TRAVEL ||
|
||||
form == FORM_AQUA || form == FORM_BEAR || form == FORM_DIREBEAR ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue