diff options
author | Haru <haru@dotalux.com> | 2016-02-11 15:15:33 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-08-19 21:32:18 +0200 |
commit | 86dde2472e4752b44a14e1d37a9b6288c06f3c00 (patch) | |
tree | 6e043b80e02c853a598ef2560591cd29973f5914 /src/map/map.h | |
parent | e370cc44c9e79ee284d1658fab42112c0193672a (diff) | |
download | hercules-86dde2472e4752b44a14e1d37a9b6288c06f3c00.tar.gz hercules-86dde2472e4752b44a14e1d37a9b6288c06f3c00.tar.bz2 hercules-86dde2472e4752b44a14e1d37a9b6288c06f3c00.tar.xz hercules-86dde2472e4752b44a14e1d37a9b6288c06f3c00.zip |
Improved map list loading
There's no need to parse the map list twice anymore
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/map.h')
-rw-r--r-- | src/map/map.h | 3 |
1 files changed, 1 insertions, 2 deletions
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); |