1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-06-21 21:11:35 +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