From ed39bb7197c749c28f1de75a4219329465b0fa08 Mon Sep 17 00:00:00 2001 From: DracoRPG Date: Tue, 13 Mar 2007 20:24:08 +0000 Subject: Mapcache update, should polish off remaining bugs git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10003 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/charcommand.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/map/charcommand.c') diff --git a/src/map/charcommand.c b/src/map/charcommand.c index 5eb03dd1f..743f456f6 100644 --- a/src/map/charcommand.c +++ b/src/map/charcommand.c @@ -628,9 +628,6 @@ int charcommand_save( return -1; } - if (strstr(map_name, ".gat") == NULL && strstr(map_name, ".afm") == NULL && strlen(map_name) < MAP_NAME_LENGTH-4) // 16 - 4 (.gat) - strcat(map_name, ".gat"); - if ((pl_sd = map_nick2sd(character)) != NULL) { if (pc_isGM(sd) >= pc_isGM(pl_sd)) { // you can change save point only to lower or same gm level m = map_mapname2mapid(map_name); @@ -1146,9 +1143,6 @@ int charcommand_warp( return -1; } - if (strstr(map_name, ".gat") == NULL && strstr(map_name, ".afm") == NULL && strlen(map_name) < MAP_NAME_LENGTH-4) // 16 - 4 (.gat) - strcat(map_name, ".gat"); - if ((pl_sd = map_nick2sd(character)) == NULL) { clif_displaymessage(fd, msg_table[3]); // Character not found. return -1; -- cgit v1.2.3-70-g09d2