fixed @go bug
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9617 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
38b17c776d
commit
c7b86500e5
@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
|
|||||||
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
2007/01/04
|
2007/01/04
|
||||||
|
* Fixed old @go bug (it ignored einbech) [Lupus]
|
||||||
* Added Au{R}oN's updated version of the effect list.
|
* Added Au{R}oN's updated version of the effect list.
|
||||||
* Completed adding of the new cities to @go.
|
* Completed adding of the new cities to @go.
|
||||||
> that function is ugly and needs a complete rewrite, asap.
|
> that function is ugly and needs a complete rewrite, asap.
|
||||||
|
@ -3414,13 +3414,13 @@ int atcommand_go(
|
|||||||
} else if (strncmp(map_name, "ayothaya.gat", 2) == 0 || // 2 first characters
|
} else if (strncmp(map_name, "ayothaya.gat", 2) == 0 || // 2 first characters
|
||||||
strncmp(map_name, "ayotaya.gat", 2) == 0) { // writing error (2 first characters)
|
strncmp(map_name, "ayotaya.gat", 2) == 0) { // writing error (2 first characters)
|
||||||
town = 18;
|
town = 18;
|
||||||
} else if (strncmp(map_name, "einbroch.gat", 3) == 0 || // 3 first characters
|
} else if (strncmp(map_name, "einbroch.gat", 5) == 0 || // 5 first characters
|
||||||
strncmp(map_name, "ainbroch.gat", 3) == 0) { // writing error (3 first characters)
|
strncmp(map_name, "ainbroch.gat", 5) == 0) { // writing error (5 first characters)
|
||||||
town = 19;
|
town = 19;
|
||||||
} else if (strncmp(map_name, "lighthalzen.gat", 3) == 0 || // 3 first characters
|
} else if (strncmp(map_name, "lighthalzen.gat", 3) == 0 || // 3 first characters
|
||||||
strncmp(map_name, "reichthalzen.gat", 3) == 0) { // 'alternative' name (3 first characters)
|
strncmp(map_name, "reichthalzen.gat", 3) == 0) { // 'alternative' name (3 first characters)
|
||||||
town = 20;
|
town = 20;
|
||||||
} else if (strncmp(map_name, "einbech.gat", 5) == 0) { // 5 first characters
|
} else if (strncmp(map_name, "einbech.gat", 3) == 0) { // 3 first characters
|
||||||
town = 21;
|
town = 21;
|
||||||
} else if (strncmp(map_name, "hugel.gat", 3) == 0) { // 3 first characters
|
} else if (strncmp(map_name, "hugel.gat", 3) == 0) { // 3 first characters
|
||||||
town = 22;
|
town = 22;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user