summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 4f0bad774..956637a8f 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -1958,7 +1958,7 @@ ACMD_FUNC(go)
if (strncmp(map_name, "prontera", 3) == 0) {
town = 0;
} else if (strncmp(map_name, "morocc", 4) == 0 ||
- strncmp(map_name, "morroc", 4) ==0) {
+ strncmp(map_name, "morroc", 4) == 0) {
town = 1;
} else if (strncmp(map_name, "geffen", 3) == 0) {
town = 2;
@@ -2027,7 +2027,7 @@ ACMD_FUNC(go)
town = 29;
} else if (strncmp(map_name, "dicastes01", 3) == 0) {
town = 30;
- } else if (strncmp(map_name, "mora", 4) == 0) {
+ } else if (strcmp(map_name, "mora") == 0) {
town = 31;
} else if (strncmp(map_name, "dewata", 3) == 0) {
town = 32;