1
0
Fork 1
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:
Alexei Dobrohotov 2019-08-01 16:33:25 +03:00 committed by GitHub
commit 3a0f893f53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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