1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-03 09:45:34 +00:00

travis fix #2

This commit is contained in:
mrcheko 2014-05-18 15:41:15 +04:00
parent 69c1eb28c5
commit 74697f8116

View file

@ -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);
}
}