Don't try to start combat with oneself and don't tell the player what to do

LTO-timing^2
Evil Eye 3 years ago
parent 510a9b9a5e
commit e42d63f4a4

@ -1463,7 +1463,10 @@ namespace MWMechanics
std::set<MWWorld::Ptr> followersTarget;
getActorsSidingWith(target, followersTarget);
for(const auto& follower : followersTarget)
startCombat(follower, attacker);
{
if(follower != attacker && follower != player)
startCombat(follower, attacker);
}
}
}
}

Loading…
Cancel
Save