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://svn.code.sf.net/p/rathena/svn/trunk@16790 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
spre123 2012-09-22 18:08:18 +00:00
parent 22d8187238
commit 918ba34f84

View File

@ -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;