diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/mapindex.h | 1 | ||||
-rw-r--r-- | src/map/atcommand.c | 5 |
2 files changed, 5 insertions, 1 deletions
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)) |