summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorspre123 <spre123@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-22 18:08:18 +0000
committerspre123 <spre123@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-22 18:08:18 +0000
commit8ce8e93e32f312504e8295168c4629b94fe5e962 (patch)
tree1ef0ade19384b79af64fee8694379b9cf895f683 /src
parent117d72eeeb1edce42ed6e44e6267c58f5da7e897 (diff)
downloadhercules-8ce8e93e32f312504e8295168c4629b94fe5e962.tar.gz
hercules-8ce8e93e32f312504e8295168c4629b94fe5e962.tar.bz2
hercules-8ce8e93e32f312504e8295168c4629b94fe5e962.tar.xz
hercules-8ce8e93e32f312504e8295168c4629b94fe5e962.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/map/atcommand.c5
1 files changed, 3 insertions, 2 deletions
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;