Core/Vehicles: Remove redundant Vehicle::Die. All vehicle auras are already removed on Unit::RemoveAllAurasOnDeath.

Addresses ticket:869 - please reconfirm
This commit is contained in:
Machiavelli committed 2011-03-06 10:31:25 +01:00
1 parent 13fb928d14
commit df97ce7625
5 files changed
-25

No files matched your search

-2
View File
@@ -12402,8 +12402,6 @@ void Unit::setDeathState(DeathState s)
ClearDiminishings();
GetMotionMaster()->Clear(false);
GetMotionMaster()->MoveIdle();
if (m_vehicleKit)
m_vehicleKit->Die();
SendMonsterStop(true);
//without this when removing IncreaseMaxHealth aura player may stuck with 1 hp
//do not why since in IncreaseMaxHealth currenthealth is checked