mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 12:39:55 +00:00
Revert "delete death events on adding an actor to the scene"
If we go to a different cell in the exact frame of an actor's death, the death event would be lost permanently. This reverts commit fd2c07a6f47b26469d01d05b7a284aa87f9caef2. Conflicts: apps/openmw/mwmechanics/actors.cpp
This commit is contained in:
parent
8625764143
commit
a42e60970b
@ -1044,9 +1044,6 @@ namespace MWMechanics
|
||||
|
||||
void Actors::addActor (const MWWorld::Ptr& ptr, bool updateImmediately)
|
||||
{
|
||||
// erase previous death events since we are currently only tracking them while in an active cell
|
||||
ptr.getClass().getCreatureStats(ptr).clearHasDied();
|
||||
|
||||
removeActor(ptr);
|
||||
|
||||
MWRender::Animation *anim = MWBase::Environment::get().getWorld()->getAnimation(ptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user