From a197f9763d38ebc24e80180160b1db9cb9e2e41f Mon Sep 17 00:00:00 2001 From: euphyy Date: Sat, 22 Sep 2012 18:32:55 +0000 Subject: * 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 --- src/map/atcommand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/atcommand.c') 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; -- cgit v1.2.3-70-g09d2