travis fix #2

deque
mrcheko 11 years ago
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…
Cancel
Save