Add comment.

This commit is contained in:
Noudess 2021-02-09 11:32:13 -05:00
parent d90d680e8a
commit d7d9c73e5e

View File

@ -3240,6 +3240,7 @@ void NPC::AIYellForHelp(Mob *sender, Mob *attacker)
float assist_range = (mob->GetAssistRange() * mob->GetAssistRange());
// Implement optional sneak-pull
if (RuleB(Combat, EnableSneakPull) && attacker->sneaking) {
assist_range = RuleI(Combat, SneakPullAssistRange);
if (attacker->IsClient()) {