Преглед изворни кода

Fixed @rura between maps on more then one map server. (r12483)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12483 54d463be-8e91-2dee-dedb-b68131a5f0ec
Kevin пре 17 година
родитељ
комит
51d31f56bd
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/atcommand.c

+ 1 - 0
Changelog-Trunk.txt

@@ -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.
 
 2008/04/04
+	* Fixed @rura between maps on more then one map server. (r12483) [Kevin]
 	* Update to Auth Glitch fix: moved unit_free_pc back to where it was
 	- and updated it so unit_free_pc just tells the script to end
 	- (not hard delete). (r12481) [Kevin]

+ 1 - 1
src/map/atcommand.c

@@ -431,7 +431,7 @@ int atcommand_mapmove(const int fd, struct map_session_data* sd, const char* com
 	if (mapindex)
 		m = map_mapindex2mapid(mapindex);
 	
-	if (!mapindex || m < 0) {
+	if (!mapindex) { // m < 0 means on different server! [Kevin]
 		clif_displaymessage(fd, msg_txt(1)); // Map not found.
 		return -1;
 	}