summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index a996b2112..afdbb6b25 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -1012,7 +1012,7 @@ int npc_touch_areanpc2(struct block_list *bl)
int npc_check_areanpc(int flag,int m,int x,int y,int range)
{
int i;
- int x0,y0,y0,y1;
+ int x0,y0,x1,y1;
int xs,ys;
if (range < 0) return 0;