summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/map.c')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index d4d6e3323..93e86f80b 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -641,7 +641,7 @@ static int map_forcountinmap(int (*func)(struct block_list*, va_list), int16 m,
va_list ap;
va_start(ap, type);
- returnCount = map->vforcountinarea(func, m, 0, 0, map->list[m].bxs, map->list[m].bys, count, type, ap);
+ returnCount = map->vforcountinarea(func, m, 0, 0, map->list[m].xs, map->list[m].ys, count, type, ap);
va_end(ap);
return returnCount;