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 44b328d05..f0db40c39 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -5634,7 +5634,7 @@ void map_defaults(void) {
iMap->map_foreachregen = map_map_foreachregen;
iMap->map_foreachiddb = map_map_foreachiddb;
- iMap->foreachinrange = iMap->foreachinrange;
+ iMap->foreachinrange = map_foreachinrange;
iMap->foreachinshootrange = map_foreachinshootrange;
iMap->foreachinarea=map_foreachinarea;
iMap->forcountinrange=map_forcountinrange;