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
This commit is contained in:
1 parent
d4440602ce
commit
f1ae2c7b73
1 file changed
-12
@@ -24194,18 +24194,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