[11732] Interrupt movement state at dying

TODO: proper solution would be update creatures while in corpse state.
This also would solve problems with death persistent auras that not get updated for died creatures
This commit is contained in:
SilverIce 2011-07-10 22:17:08 +03:00
parent 0cbb8e311e
commit a7fba67225
3 changed files with 3 additions and 2 deletions

View file

@ -1542,7 +1542,7 @@ bool Creature::FallGround()
// hacky solution: by some reason died creatures not updated, that's why need finalize movement state
GetMap()->CreatureRelocation(this, GetPositionX(), GetPositionY(), tz, GetOrientation());
movespline->_Finalize();
DisableSpline();
return true;
}