Code:
// Can't use flying auras in non-outlands.
if(aur->GetSpellProto()->EffectApplyAuraName[i] == 208 || aur->GetSpellProto()->EffectApplyAuraName[i] == 207)
{
delete aur;
return;
}
}
}
About two lines above that it will have something like
Code:
{
if(m_mapId != (some mapid is here))
{
for(uint32 i = 0; i < 3; ++i)
{
now change the if(m_mapId != part to
Code:
void Aura::SpellAuraEnableFlight(bool apply)
{
if(m_target->IsPlayer())
{
static_cast(m_target)->FlyCheat = apply;
static_cast(m_target)->flying_aura = m_spellProto->Id;
}
if(apply)
{
m_target->EnableFlight(true);
m_target->m_flyspeedModifier += mod->m_amount;
m_target->UpdateSpeed(true);
}
if (!apply) //replaced else with: if(!apply) to allow flying mounts in the old lands
{
m_target->DisableFlight(true);
m_target->m_flyspeedModifier -= mod->m_amount;
m_target->UpdateSpeed(true);
}
}
Now for the last. In Unit.cpp find void Unit::AddAura(Aura *aur) and comment out the following:
Code:
INSERT INTO `items`
VALUES
('90002',' 4',' 0',' -1','Insignia of the Gryphon Rider','Insignia of the Gryphon Rider','Insignia of the Gryph