1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +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