Procházet zdrojové kódy

Fixed call homunc bug when the homunc was vapo and the master has change of map

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8414 54d463be-8e91-2dee-dedb-b68131a5f0ec
toms před 19 roky
rodič
revize
a18ae6fb49
2 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 2 0
      Changelog-Trunk.txt
  2. 1 0
      src/map/mercenary.c

+ 2 - 0
Changelog-Trunk.txt

@@ -4,6 +4,8 @@ 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.
 
 2006/08/21
+	* Fixed call homunc bug when the homunc was vapo and the master has change
+	  of map [Toms]
 	* Fixed SQL-Guild Creation, guild name was escaped 2 times [Toms]
 	* Some cleaning of the splash skills. Updated skill-attack to enable again
 	  passing of flag 0xF000 which signals that the skill level sent to the

+ 1 - 0
src/map/mercenary.c

@@ -708,6 +708,7 @@ int merc_call_homunculus(struct map_session_data *sd, short x, short y)
 	{	//Spawn him
 		hd->bl.x = x;
 		hd->bl.y = y;
+		hd->bl.m = sd->bl.m;
 		map_addblock(&hd->bl);
 		clif_spawn(&hd->bl);
 		clif_send_homdata(sd,SP_ACK,0);