forked from mirror/openmw-tes3mp
Fix use-after-free
This commit is contained in:
parent
c65492193c
commit
30b549124e
1 changed files with 0 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue