فهرست منبع

- Replaced tabs with spaces in @go, follow up to r15070. (bugreport:5156)
- BuildBot: enabled the Ubuntu_x64 builder, follow up to r15217.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@15226 54d463be-8e91-2dee-dedb-b68131a5f0ec

brianluau 13 سال پیش
والد
کامیت
9ebbccacf4
1فایلهای تغییر یافته به همراه10 افزوده شده و 4 حذف شده
  1. 10 4
      src/map/atcommand.c

+ 10 - 4
src/map/atcommand.c

@@ -2300,8 +2300,8 @@ ACMD_FUNC(go)
 		{ MAP_RACHEL,      130, 110 }, // 23=Rachel
 		{ MAP_VEINS,       216, 123 }, // 24=Veins
 		{ MAP_MOSCOVIA,    223, 184 }, // 25=Moscovia
-		{ MAP_BRASILIS,	   182, 239 }, // 26=Brasilis
-		{ MAP_MANUK,	   282, 138 }, // 27=Manuk
+		{ MAP_BRASILIS,    182, 239 }, // 26=Brasilis
+		{ MAP_MANUK,       282, 138 }, // 27=Manuk
 		{ MAP_SPLENDIDE,   197, 176 }, // 28=Splendide
 	};
  
@@ -2330,8 +2330,8 @@ ACMD_FUNC(go)
 		clif_displaymessage(fd, " 15=Novice Grounds  16=Prison      17=Jawaii");
 		clif_displaymessage(fd, " 18=Ayothaya        19=Einbroch    20=Lighthalzen");
 		clif_displaymessage(fd, " 21=Einbech         22=Hugel       23=Rachel");
-		clif_displaymessage(fd, " 24=Veins           25=Moscovia	26=Brasilis");
-		clif_displaymessage(fd, " 27=Manuk			 28=Splendide");
+		clif_displaymessage(fd, " 24=Veins           25=Moscovia    26=Brasilis");
+		clif_displaymessage(fd, " 27=Manuk           28=Splendide");
 		return -1;
 	}
 
@@ -2405,6 +2405,12 @@ ACMD_FUNC(go)
 		town = 24;
 	} else if (strncmp(map_name, "moscovia", 3) == 0) {
 		town = 25;
+	} else if (strncmp(map_name, "brasilis", 3) == 0) {
+		town = 26;
+	} else if (strncmp(map_name, "manuk", 3) == 0) {
+		town = 27;
+	} else if (strncmp(map_name, "splendide", 3) == 0) {
+		town = 28;
 	}
 
 	if (town >= 0 && town < ARRAYLENGTH(data))