Revert "*Do not allow players to use vehicles to go further than 1st boss in Ulduar."
This reverts commit a009e53049.
Remove hackfix for Ulduar vehicles, it should be handled in Ulduar script
(cherry picked from commit f1ae2c7b73f3fbc665acac8fd70ce325f20e1194)
This commit is contained in:
@@ -23743,18 +23743,6 @@ void Player::UpdateAreaDependentAuras(uint32 newArea)
|
||||
if (itr->second->autocast && itr->second->IsFitToRequirements(this, m_zoneUpdateId, newArea))
|
||||
if (!HasAura(itr->second->spellId))
|
||||
CastSpell(this, itr->second->spellId, true);
|
||||
|
||||
if (newArea == 4273 && GetVehicleCreatureBase() && GetPositionX() > 400) // Ulduar
|
||||
{
|
||||
switch (GetVehicleBase()->GetEntry())
|
||||
{
|
||||
case 33062:
|
||||
case 33109:
|
||||
case 33060:
|
||||
GetVehicleCreatureBase()->DespawnOrUnsummon();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
uint32 Player::GetCorpseReclaimDelay(bool pvp) const
|
||||
|
||||
Reference in New Issue
Block a user