mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
Merge pull request #2468 from elsid/aitravel_fastforward_fix
Reset path after AiTravel is fast forwarded (bug #5037)
This commit is contained in:
commit
3a0f893f53
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ namespace MWMechanics
|
|||
// that is the user's responsibility
|
||||
MWBase::Environment::get().getWorld()->moveObject(actor, mX, mY, mZ);
|
||||
actor.getClass().adjustPosition(actor, false);
|
||||
reset();
|
||||
}
|
||||
|
||||
void AiTravel::writeState(ESM::AiSequence::AiSequence &sequence) const
|
||||
|
|
Loading…
Reference in a new issue