From a09dadb5b889a3d4429947ac3c2acba6e3f458ec Mon Sep 17 00:00:00 2001 From: brianluau Date: Fri, 23 Dec 2011 13:58:41 +0000 Subject: - 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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15226 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 00d7deb5f..ef8ad4784 100644 --- a/src/map/atcommand.c +++ b/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)) -- cgit v1.2.3-60-g2f50