summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 10:32:10 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 10:32:10 +0000
commit6533057de1efe36a0c900076a1b4bf207b54994c (patch)
treea67795128e8c3f5c8d8c392165f828db9d50104c
parenta9e29df778514bd1dca21b6a65595410733a0da1 (diff)
downloadhercules-6533057de1efe36a0c900076a1b4bf207b54994c.tar.gz
hercules-6533057de1efe36a0c900076a1b4bf207b54994c.tar.bz2
hercules-6533057de1efe36a0c900076a1b4bf207b54994c.tar.xz
hercules-6533057de1efe36a0c900076a1b4bf207b54994c.zip
Added Moscovia to the list of @go destinations
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12504 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/common/mapindex.h1
-rw-r--r--src/map/atcommand.c5
3 files changed, 7 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 9e7624b50..652eed3aa 100644
--- a/Changelog-Trunk.txt
+++ b/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]
diff --git a/src/common/mapindex.h b/src/common/mapindex.h
index 99e7de702..9f5d35329 100644
--- a/src/common/mapindex.h
+++ b/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);
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 85e551861..3a9f987cb 100644
--- a/src/map/atcommand.c
+++ b/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))