diff options
author | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-16 00:14:32 +0000 |
---|---|---|
committer | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-16 00:14:32 +0000 |
commit | 5142a65127df3a5867cc885b29e2b06e4d68def0 (patch) | |
tree | f1d8515f500515b2abb1473533513d9b57e73f03 /src/tool/mapcache.c | |
parent | 07d97e45c9ed18777aa40cfd6502dc36c4b31c1e (diff) | |
download | hercules-5142a65127df3a5867cc885b29e2b06e4d68def0.tar.gz hercules-5142a65127df3a5867cc885b29e2b06e4d68def0.tar.bz2 hercules-5142a65127df3a5867cc885b29e2b06e4d68def0.tar.xz hercules-5142a65127df3a5867cc885b29e2b06e4d68def0.zip |
Small bugfixes and enhancements to the map cache generator
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10267 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/tool/mapcache.c')
-rw-r--r-- | src/tool/mapcache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool/mapcache.c b/src/tool/mapcache.c index 133cfe0ed..4103e6916 100644 --- a/src/tool/mapcache.c +++ b/src/tool/mapcache.c @@ -310,6 +310,7 @@ int main(int argc, char *argv[]) if(strcmp("map:", name) == 0 && sscanf(line, "%*s %15s", name) < 1) continue; + name[MAP_NAME_LENGTH_EXT-1] = '\0'; remove_extension(name); printf("%s", name); if(find_map(name)) |