1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 20:53:50 +00:00

Check type id of current package

If package is changed the following usage of it is not consistent.
This commit is contained in:
elsid 2020-05-17 22:34:11 +02:00
parent ca93f8ee39
commit d48eead038
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40

View file

@ -275,6 +275,7 @@ void AiSequence::execute (const MWWorld::Ptr& actor, CharacterController& charac
}
package = mPackages.front();
packageTypeId = package->getTypeId();
}
try