summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-22 18:32:55 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-22 18:32:55 +0000
commita197f9763d38ebc24e80180160b1db9cb9e2e41f (patch)
tree86d835cfb5dea388d36cb61c1e75bad69b9a2d4c /src/map
parent4dbea4c5a42e39f46f59826bf7412fdaa38f14ca (diff)
downloadhercules-a197f9763d38ebc24e80180160b1db9cb9e2e41f.tar.gz
hercules-a197f9763d38ebc24e80180160b1db9cb9e2e41f.tar.bz2
hercules-a197f9763d38ebc24e80180160b1db9cb9e2e41f.tar.xz
hercules-a197f9763d38ebc24e80180160b1db9cb9e2e41f.zip
* Fixed applicable job on Ebone Armor (bugreport:6705)
* Follow-up r16790 / r16791, formatting and strncmp -> strcmp (src\map\atcommand.c) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16792 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-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;