*Fix a crash in Object.h
*Fix action button saving *Fix a crash on item swap in guild bank *Fix exploit moving after death in Unit.cpp *Fix assert fail at grid load in Creature.cpp Thanks Sisif for these! :) --HG-- branch : trunk
This commit is contained in:
1 parent
ca1e026c4f
commit
52bab5854f
5 files changed
+15
-5
No files matched your search
@@ -11176,6 +11176,7 @@ void Unit::setDeathState(DeathState s)
|
||||
GetMotionMaster()->Clear(false);
|
||||
GetMotionMaster()->MoveIdle();
|
||||
if(m_vehicleKit) m_vehicleKit->Die();
|
||||
StopMoving();
|
||||
//without this when removing IncreaseMaxHealth aura player may stuck with 1 hp
|
||||
//do not why since in IncreaseMaxHealth currenthealth is checked
|
||||
SetHealth(0);
|
||||
|
||||
Reference in new issue
Block a user