mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-16 07:49:05 -04:00
Check type id of current package
If package is changed the following usage of it is not consistent.
This commit is contained in:
parent
ca93f8ee39
commit
d48eead038
@ -275,6 +275,7 @@ void AiSequence::execute (const MWWorld::Ptr& actor, CharacterController& charac
|
|||||||
}
|
}
|
||||||
|
|
||||||
package = mPackages.front();
|
package = mPackages.front();
|
||||||
|
packageTypeId = package->getTypeId();
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
|
Loading…
x
Reference in New Issue
Block a user