mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-31 02:36:46 +00:00
[Client] Fix additional resurrection problems caused by 6450d84473
This commit is contained in:
parent
eeb3e4f938
commit
5ca2c83b02
2 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ void DedicatedActor::setStatsDynamic()
|
|||
|
||||
// Resurrect this Actor if it's not supposed to be dead according to its authority
|
||||
if (creatureStats.mDynamic[0].mCurrent > 0)
|
||||
ptrCreatureStats->resurrect();
|
||||
MWBase::Environment::get().getMechanicsManager()->resurrect(ptr);
|
||||
|
||||
for (int i = 0; i < 3; ++i)
|
||||
{
|
||||
|
|
|
@ -98,7 +98,7 @@ void DedicatedPlayer::update(float dt)
|
|||
}
|
||||
|
||||
if (ptrCreatureStats->isDead())
|
||||
ptrCreatureStats->resurrect();
|
||||
MWBase::Environment::get().getMechanicsManager()->resurrect(ptr);
|
||||
|
||||
ptrCreatureStats->setAttacked(false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue