Fix use-after-free

pull/35/head
scrawl 8 years ago
parent c65492193c
commit 30b549124e

@ -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…
Cancel
Save