From 9dc87bf9db25237ae4d904f92311352e6171d372 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 5 May 2007 13:57:07 +0000 Subject: - 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 --- src/tool/mapcache.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tool') diff --git a/src/tool/mapcache.c b/src/tool/mapcache.c index aa0ab0c94..5db46c123 100644 --- a/src/tool/mapcache.c +++ b/src/tool/mapcache.c @@ -218,9 +218,7 @@ char *remove_extension(char *mapname) if (ptr) { //Check and remove extension. while (ptr[1] && (ptr2 = strchr(ptr+1, '.'))) ptr = ptr2; //Skip to the last dot. - if (strcmp(ptr,".gat") == 0 || - strcmp(ptr,".afm") == 0 || - strcmp(ptr,".af2") == 0) + if (strcmp(ptr,".gat") == 0) *ptr = '\0'; //Remove extension. } return mapname; -- cgit v1.2.3-60-g2f50