summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8ff84ed1a..456ae66ed 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1208,7 +1208,7 @@ int map_foreachinmap(int (*func)(struct block_list*,va_list), int m, int type,..
if( type&BL_MOB )
for( b = 0; b < bsize; b++ )
- for( bl = map[ m ].block[ b ]; bl != NULL; bl = bl->next )
+ for( bl = map[ m ].block_mob[ b ]; bl != NULL; bl = bl->next )
if( bl_list_count < BL_LIST_MAX )
bl_list[ bl_list_count++ ] = bl;