From 86dde2472e4752b44a14e1d37a9b6288c06f3c00 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 11 Feb 2016 15:15:33 +0100 Subject: Improved map list loading There's no need to parse the map list twice anymore Signed-off-by: Haru --- src/map/map.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/map/map.h') diff --git a/src/map/map.h b/src/map/map.h index 646e39448..6514ef0af 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -1147,7 +1147,7 @@ END_ZEROED_BLOCK; int (*cleanup_sub) (struct block_list *bl, va_list ap); - int (*delmap) (char* mapname); + int (*delmap) (const char *mapname); void (*flags_init) (void); bool (*iwall_set) (int16 m, int16 x, int16 y, int size, int8 dir, bool shootable, const char* wall_name); @@ -1188,7 +1188,6 @@ END_ZEROED_BLOCK; int (*readgat) (struct map_data *m); int (*readallmaps) (void); bool (*config_read) (const char *filename, bool imported); - bool (*config_read_sub) (char *filename); void (*reloadnpc_sub) (char *cfgName); bool (*inter_config_read) (const char *filename, bool imported); bool (*inter_config_read_database_names) (const char *filename, const struct config_t *config, bool imported); -- cgit v1.2.3-70-g09d2