diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-05 11:52:21 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-05 11:52:21 +0000 |
commit | 4dc938b7ff72818dd0bc8ba4bf84c09a89f751cb (patch) | |
tree | d1d3b92d23a2dbccd23fd9bcbad1214febbd348f /src/map/atcommand.c | |
parent | a6163a7291dde75d7d69d0a0807c18b5884cddc1 (diff) | |
download | hercules-4dc938b7ff72818dd0bc8ba4bf84c09a89f751cb.tar.gz hercules-4dc938b7ff72818dd0bc8ba4bf84c09a89f751cb.tar.bz2 hercules-4dc938b7ff72818dd0bc8ba4bf84c09a89f751cb.tar.xz hercules-4dc938b7ff72818dd0bc8ba4bf84c09a89f751cb.zip |
fixed @go bug
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9617 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index b6895af08..06fa629e5 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -3414,13 +3414,13 @@ int atcommand_go( } else if (strncmp(map_name, "ayothaya.gat", 2) == 0 || // 2 first characters strncmp(map_name, "ayotaya.gat", 2) == 0) { // writing error (2 first characters) town = 18; - } else if (strncmp(map_name, "einbroch.gat", 3) == 0 || // 3 first characters - strncmp(map_name, "ainbroch.gat", 3) == 0) { // writing error (3 first characters) + } else if (strncmp(map_name, "einbroch.gat", 5) == 0 || // 5 first characters + strncmp(map_name, "ainbroch.gat", 5) == 0) { // writing error (5 first characters) town = 19; } else if (strncmp(map_name, "lighthalzen.gat", 3) == 0 || // 3 first characters strncmp(map_name, "reichthalzen.gat", 3) == 0) { // 'alternative' name (3 first characters) town = 20; - } else if (strncmp(map_name, "einbech.gat", 5) == 0) { // 5 first characters + } else if (strncmp(map_name, "einbech.gat", 3) == 0) { // 3 first characters town = 21; } else if (strncmp(map_name, "hugel.gat", 3) == 0) { // 3 first characters town = 22; |