mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 18:32:36 +00:00
Fix potential another crash
This commit is contained in:
parent
83be3826ff
commit
e60e0b55eb
@ -291,7 +291,8 @@ void AiSequence::execute (const MWWorld::Ptr& actor, CharacterController& charac
|
||||
}
|
||||
}
|
||||
|
||||
assert(!mPackages.empty());
|
||||
if (mPackages.empty())
|
||||
return;
|
||||
|
||||
if (nearestDist < std::numeric_limits<float>::max() && mPackages.begin() != itActualCombat)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user