diff options
author | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-06 17:22:40 +0000 |
---|---|---|
committer | DracoRPG <DracoRPG@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-04-06 17:22:40 +0000 |
commit | ded1f674755335a9cbb5c08e321b4a4c092a0e8d (patch) | |
tree | 4ff5231731935b41f9ef1fdccf9b14ef5b4e85b3 /src/map/charcommand.c | |
parent | 2d75543b172d4cf141278bbd224e2353f19b5c86 (diff) | |
download | hercules-ded1f674755335a9cbb5c08e321b4a4c092a0e8d.tar.gz hercules-ded1f674755335a9cbb5c08e321b4a4c092a0e8d.tar.bz2 hercules-ded1f674755335a9cbb5c08e321b4a4c092a0e8d.tar.xz hercules-ded1f674755335a9cbb5c08e321b4a4c092a0e8d.zip |
I'm still here!
Rewrote fame ranking lists- changed MAP_NAME_LENGTH to 12, now there's MAP_NAME_LENGTH_EXT at 16 for
uses where there is / may be the .gat extension, code adjusted accordingly
- moved map_normalize_name to mapindex_normalize_name so that everything
handling map names uses the same extension-removing function
- greatly enhanced the map cache generator, complete documentation on the
tool and the map cache format can be found in doc/
- the map cache format changed a bit as a consequence, but of course a new
valid one is included (contains latest Nameless Island maps)
- fixed a duplicate entry in map index
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10167 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/charcommand.c')
-rw-r--r-- | src/map/charcommand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/charcommand.c b/src/map/charcommand.c index e826d42b8..415f216d5 100644 --- a/src/map/charcommand.c +++ b/src/map/charcommand.c @@ -617,7 +617,7 @@ int charcommand_save( const int fd, struct map_session_data* sd, const char* command, const char* message) { - char map_name[MAP_NAME_LENGTH]; + char map_name[MAP_NAME_LENGTH_EXT]; char character[NAME_LENGTH]; struct map_session_data* pl_sd; int x = 0, y = 0; @@ -1130,7 +1130,7 @@ int charcommand_warp( const int fd, struct map_session_data* sd, const char* command, const char* message) { - char map_name[MAP_NAME_LENGTH]; + char map_name[MAP_NAME_LENGTH_EXT]; char character[NAME_LENGTH]; int x = 0, y = 0; struct map_session_data *pl_sd; |