mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +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
|
|
@ -18674,11 +18674,8 @@ void Player::UpdateAreaDependentAuras( uint32 newArea )
|
|||
++iter;
|
||||
}
|
||||
|
||||
// unmount if enter in this subzone
|
||||
if( newArea == 35)
|
||||
RemoveSpellsCausingAura(SPELL_AURA_MOUNTED);
|
||||
// Dragonmaw Illusion
|
||||
else if( newArea == 3759 || newArea == 3966 || newArea == 3939 )
|
||||
if( newArea == 3759 || newArea == 3966 || newArea == 3939 )
|
||||
{
|
||||
if( GetDummyAura(40214) )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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 ||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "6985"
|
||||
#define REVISION_NR "6986"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue