Browse Source

Added Moscovia to the list of @go destinations

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12504 54d463be-8e91-2dee-dedb-b68131a5f0ec
toms 17 years ago
parent
commit
0e9b2126b6
3 changed files with 7 additions and 1 deletions
  1. 2 0
      Changelog-Trunk.txt
  2. 1 0
      src/common/mapindex.h
  3. 4 1
      src/map/atcommand.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+2008/04/06
+	* Added Moscovia to the list of @go destinations [Toms]
 2008/04/05
 	* Unequip should no longer remove any buff from seven wind. (r12503) [Kevin]
 	* Union and Increase AGI now stack. (r12502) [Kevin]

+ 1 - 0
src/common/mapindex.h

@@ -36,6 +36,7 @@ extern char mapindex_cfgfile[80];
 #define MAP_VEINS "veins"
 #define MAP_JAIL "sec_pri"
 #define MAP_NOVICE "new_zone01"
+#define MAP_MOSCOVIA "moscovia"
 
 const char* mapindex_getmapname(const char* string, char* output);
 const char* mapindex_getmapname_ext(const char* string, char* output);

+ 4 - 1
src/map/atcommand.c

@@ -2178,6 +2178,7 @@ int atcommand_go(const int fd, struct map_session_data* sd, const char* command,
 		{ MAP_HUGEL,        96, 145 }, // 22=Hugel
 		{ MAP_RACHEL,      130, 110 }, // 23=Rachel
 		{ MAP_VEINS,       216, 123 }, // 24=Veins
+		{ MAP_MOSCOVIA,    223, 184 }, // 25=Moscovia
 	};
  
 	nullpo_retr(-1, sd);
@@ -2205,7 +2206,7 @@ int atcommand_go(const int fd, struct map_session_data* sd, const char* command,
 		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");
+		clif_displaymessage(fd, " 24=Veins           25=Moscovia");
 		return -1;
 	}
 
@@ -2277,6 +2278,8 @@ int atcommand_go(const int fd, struct map_session_data* sd, const char* command,
 		town = 23;
 	} else if (strncmp(map_name, "veins", 3) == 0) {
 		town = 24;
+	} else if (strncmp(map_name, "moscovia", 3) == 0) {
+		town = 25;
 	}
 
 	if (town >= 0 && town < ARRAYLENGTH(data))