From 6533057de1efe36a0c900076a1b4bf207b54994c Mon Sep 17 00:00:00 2001 From: toms Date: Sun, 6 Apr 2008 10:32:10 +0000 Subject: 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 --- src/common/mapindex.h | 1 + src/map/atcommand.c | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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)) -- cgit v1.2.3-70-g09d2