1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 17:49:41 +00:00

Fix improper handling of multiple AiFollow packages with the same target (Fixes #3077)

This commit is contained in:
scrawl 2015-12-13 17:42:11 +01:00
parent 64424e7262
commit a7e0562e1c

View file

@ -1333,7 +1333,6 @@ namespace MWMechanics
continue;
if (followTarget == actor)
list.push_back(static_cast<MWMechanics::AiFollow*>(*it)->getFollowIndex());
else
break;
}
else if ((*it)->getTypeId() != MWMechanics::AiPackage::TypeIdCombat)