mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 19:20:49 +00:00
travis fix #2
This commit is contained in:
parent
69c1eb28c5
commit
74697f8116
@ -159,7 +159,9 @@ void AiSequence::execute (const MWWorld::Ptr& actor,float duration)
|
||||
if (mPackages.begin() != itActualCombat)
|
||||
{
|
||||
// move combat package with nearest target to the front
|
||||
mPackages.splice(mPackages.begin(), mPackages, itActualCombat);
|
||||
AiPackage *package = (*itActualCombat)->clone();
|
||||
mPackages.erase(itActualCombat);
|
||||
mPackages.push_front(package);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user