diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-05 13:57:07 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-05-05 13:57:07 +0000 |
commit | 9dc87bf9db25237ae4d904f92311352e6171d372 (patch) | |
tree | fe58100dd34d6ee12120f5a2d165b84cdb5a3ab2 /src/common/mapindex.c | |
parent | 0782cabc543c151f724f38f5132ab948f6346af4 (diff) | |
download | hercules-9dc87bf9db25237ae4d904f92311352e6171d372.tar.gz hercules-9dc87bf9db25237ae4d904f92311352e6171d372.tar.bz2 hercules-9dc87bf9db25237ae4d904f92311352e6171d372.tar.xz hercules-9dc87bf9db25237ae4d904f92311352e6171d372.zip |
- imported the latest working grfio code from stable
- re-added usage of managed allocation routines in grfio
- eol-styled some new files
- some cosmetic fixes here and there
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10468 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/mapindex.c')
-rw-r--r-- | src/common/mapindex.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c index b8bb12c18..37afcad3d 100644 --- a/src/common/mapindex.c +++ b/src/common/mapindex.c @@ -29,9 +29,7 @@ char *mapindex_normalize_name(char *mapname) if (ptr) { //Check and remove extension. while (ptr[1] && (ptr2 = strchr(ptr+1, '.'))) ptr = ptr2; //Skip to the last dot. - if(stricmp(ptr,".gat") == 0 || - stricmp(ptr,".afm") == 0 || - stricmp(ptr,".af2") == 0) + if(stricmp(ptr,".gat") == 0) *ptr = '\0'; //Remove extension. } return mapname; |