mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 20:39:42 +00:00
travis compile fix
This commit is contained in:
parent
aa5647b45e
commit
69c1eb28c5
2 changed files with 2 additions and 2 deletions
|
@ -922,7 +922,7 @@ namespace MWMechanics
|
|||
sBasePoint = Ogre::Vector3(iter->first.getRefData().getPosition().pos);
|
||||
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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
mPackages.splice(mPackages.begin(), mPackages, itActualCombat);
|
||||
|
|
Loading…
Reference in a new issue