mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +00:00
travis compile fix
This commit is contained in:
parent
aa5647b45e
commit
69c1eb28c5
@ -922,7 +922,7 @@ namespace MWMechanics
|
|||||||
sBasePoint = Ogre::Vector3(iter->first.getRefData().getPosition().pos);
|
sBasePoint = Ogre::Vector3(iter->first.getRefData().getPosition().pos);
|
||||||
listGuards.sort(comparePtrDist); // try to engage combat starting from the nearest creature
|
listGuards.sort(comparePtrDist); // try to engage combat starting from the nearest creature
|
||||||
|
|
||||||
for (std::list<MWWorld::Ptr>::const_iterator it = listGuards.cbegin(); it != listGuards.cend(); ++it)
|
for (std::list<MWWorld::Ptr>::iterator it = listGuards.begin(); it != listGuards.end(); ++it)
|
||||||
{
|
{
|
||||||
engageCombat(iter->first, *it, false);
|
engageCombat(iter->first, *it, false);
|
||||||
}
|
}
|
||||||
|
@ -156,7 +156,7 @@ void AiSequence::execute (const MWWorld::Ptr& actor,float duration)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mPackages.cbegin() != itActualCombat)
|
if (mPackages.begin() != itActualCombat)
|
||||||
{
|
{
|
||||||
// move combat package with nearest target to the front
|
// move combat package with nearest target to the front
|
||||||
mPackages.splice(mPackages.begin(), mPackages, itActualCombat);
|
mPackages.splice(mPackages.begin(), mPackages, itActualCombat);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user