summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-10 00:32:33 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-10 00:32:33 -0300
commit610814835675acb388677ee56dec187029752c8f (patch)
tree28d8fa34d3d63beec597c70b92831fb30b9138be /npc
parent785be919457363ea5d014a33688402c78602408e (diff)
downloadserverdata-610814835675acb388677ee56dec187029752c8f.tar.gz
serverdata-610814835675acb388677ee56dec187029752c8f.tar.bz2
serverdata-610814835675acb388677ee56dec187029752c8f.tar.xz
serverdata-610814835675acb388677ee56dec187029752c8f.zip
Tanisha isn't deaf; But Jesusalva is a noob
Diffstat (limited to 'npc')
-rwxr-xr-xnpc/functions/default_npc_checks.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/default_npc_checks.txt b/npc/functions/default_npc_checks.txt
index 594f56af..4dc1c1f5 100755
--- a/npc/functions/default_npc_checks.txt
+++ b/npc/functions/default_npc_checks.txt
@@ -5,7 +5,7 @@ function script PCtoNPCRange {
if(@npc_distance < 0) set @npc_distance, ATTACKRANGE;
.@x=getvariableofnpc(.x, strnpcinfo(0));
.@y=getvariableofnpc(.y, strnpcinfo(0));
- if (!isin(getmap(), .@x, .@y, @npc_distance))
+ if (isin(getmap(), .@x, .@y, @npc_distance))
goto L_Return;
@npc_check = 1;
if(@distance_handler) goto L_Return;