Selaa lähdekoodia

Follow up r16933 Fixing a typo on map_foreachinmap, block -> block_mob

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@16934 54d463be-8e91-2dee-dedb-b68131a5f0ec
shennetsind 12 vuotta sitten
vanhempi
commit
acb8a85388
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/map/map.c

+ 1 - 1
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;