From 8ce8e93e32f312504e8295168c4629b94fe5e962 Mon Sep 17 00:00:00 2001 From: spre123 Date: Sat, 22 Sep 2012 18:08:18 +0000 Subject: Fixed @go, where mora and morocc had conflicts, @mora was sending you to morocc. Also Added the spelling of "Morroc", Thereby Sending you to morocc in the event you mistype it. [Spre] git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16790 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/map') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index d8f384b94..17a20bbff 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -1957,7 +1957,8 @@ ACMD_FUNC(go) // try to identify the map name if (strncmp(map_name, "prontera", 3) == 0) { town = 0; - } else if (strncmp(map_name, "morocc", 3) == 0) { + } else if (strncmp(map_name, "morocc", 4) == 0 || + strncmp(map_name, "morroc", 4) ==0) { town = 1; } else if (strncmp(map_name, "geffen", 3) == 0) { town = 2; @@ -2026,7 +2027,7 @@ ACMD_FUNC(go) town = 29; } else if (strncmp(map_name, "dicastes01", 3) == 0) { town = 30; - } else if (strncmp(map_name, "mora", 3) == 0) { + } else if (strncmp(map_name, "mora") == 0) { town = 31; } else if (strncmp(map_name, "dewata", 3) == 0) { town = 32; -- cgit v1.2.3-70-g09d2