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

openmw-38
scrawl 9 years ago
parent 64424e7262
commit a7e0562e1c

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

Loading…
Cancel
Save