Fixed missing argument - oops

This commit is contained in:
Noudess 2021-02-09 10:00:17 -05:00
parent 3bafc5b3f4
commit baa53e134a

View File

@ -3241,7 +3241,7 @@ void NPC::AIYellForHelp(Mob *sender, Mob *attacker)
float assist_range = (mob->GetAssistRange() * mob->GetAssistRange());
if (RuleB(Combat, EnableSneakPull) && attacker->sneaking) {
assist_range=RuleI(SneakPullAssistRange);
assist_range=RuleI(Combat, SneakPullAssistRange);
if (attacker->IsClient()) {
float clientx = attacker->GetX();
float clienty = attacker->GetY();