1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

Fix use-after-free

This commit is contained in:
scrawl 2016-08-14 16:42:29 +02:00
parent c65492193c
commit 30b549124e

View file

@ -803,9 +803,6 @@ namespace MWMechanics
MWBase::Environment::get().getWorld()->moveObject(actor, static_cast<float>(dest.mX),
static_cast<float>(dest.mY), static_cast<float>(dest.mZ));
actor.getClass().adjustPosition(actor, false);
// may have changed cell
storage.mPopulateAvailableNodes = true;
}
int AiWander::OffsetToPreventOvercrowding()