diff options
author | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-10 03:02:31 +0000 |
---|---|---|
committer | Lance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-10 03:02:31 +0000 |
commit | 662b99b94ea5e8934be006a1365c090b034a22ee (patch) | |
tree | ddadcb63722426662026c1d7d0c88b760e70e26b /src | |
parent | 2494b69c92ab49c8680d0533af2c90b7a9fc5613 (diff) | |
download | hercules-662b99b94ea5e8934be006a1365c090b034a22ee.tar.gz hercules-662b99b94ea5e8934be006a1365c090b034a22ee.tar.bz2 hercules-662b99b94ea5e8934be006a1365c090b034a22ee.tar.xz hercules-662b99b94ea5e8934be006a1365c090b034a22ee.zip |
* Fixed map_readafm missing strcpy(afm_name, m->name).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7080 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index 28bdd5148..ef137b965 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -2838,6 +2838,8 @@ int map_readafm (struct map_data *m) // check if it's necessary to replace the extension - speeds up loading a bit strncpy(afm_name, m->name, strlen(m->name) - 4); strcat(afm_name, ".afm"); + } else { + strcpy(afm_name, m->name); } sprintf(fn, "%s\\%s", afm_dir, afm_name); |