summaryrefslogtreecommitdiff
path: root/src/map/map.h
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-07 16:47:51 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-07 16:47:51 +0000
commitdfb7b664299f5af5503d14bf914c5ca4bfb745be (patch)
tree8fad35db57f5bce2a81076a1b5ef3226f48b05fc /src/map/map.h
parentda7c46685d6426706c6f5ded6d7df4e62ee06261 (diff)
downloadhercules-dfb7b664299f5af5503d14bf914c5ca4bfb745be.tar.gz
hercules-dfb7b664299f5af5503d14bf914c5ca4bfb745be.tar.bz2
hercules-dfb7b664299f5af5503d14bf914c5ca4bfb745be.tar.xz
hercules-dfb7b664299f5af5503d14bf914c5ca4bfb745be.zip
- Made the map server abort when it can't open the mapcache file.
- Added a normalizing function to map.c which handles removing the extension of the map name. - Applied said function when reading maps from maps_athena, since the mapcache lookup fails without it (maps are stored there without extensions) - TODO: Apply the normalizing function everywhere when parsing map related scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9973 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.h')
-rw-r--r--src/map/map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/map.h b/src/map/map.h
index 087f1e4e4..9ddf153aa 100644
--- a/src/map/map.h
+++ b/src/map/map.h
@@ -1388,6 +1388,7 @@ int map_foreachiddb(int (*)(DBKey,void*,va_list),...);
void map_addnickdb(struct map_session_data *);
struct map_session_data * map_nick2sd(char*);
int compare_item(struct item *a, struct item *b);
+char *map_normalize_name(char *mapname);
// ‚»‚Ì‘¼
int map_check_dir(int s_dir,int t_dir);