Browse Source

- Fixed the head_bottom (pet-armor) position in packet 0x22c when crafted for non-players.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6530 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 19 years ago
parent
commit
5e73485603
2 changed files with 3 additions and 1 deletions
  1. 2 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/clif.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.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 
 2006/05/09
 2006/05/09
+	* Fixed the head_bottom (pet-armor) position in packet 0x22c (walk packet)
+	  when crafted for non-players. [Skotlex]
 	* Script commands sc_start, sc_start2 and sc_start4 will now start
 	* Script commands sc_start, sc_start2 and sc_start4 will now start
 	  regardless of sc defense of the target player (that is, they cannot be
 	  regardless of sc defense of the target player (that is, they cannot be
 	  avoided/blocked) [Skotlex]
 	  avoided/blocked) [Skotlex]

+ 1 - 1
src/map/clif.c

@@ -1108,7 +1108,7 @@ static int clif_set007b(struct block_list *bl, struct view_data *vd, struct unit
 	}
 	}
 	WBUFW(buf,16)=vd->class_;
 	WBUFW(buf,16)=vd->class_;
 	WBUFW(buf,18)=vd->hair_style; //For pets
 	WBUFW(buf,18)=vd->hair_style; //For pets
-	WBUFW(buf,20)=vd->head_bottom;	//Pet armor
+	WBUFW(buf,24)=vd->head_bottom;	//Pet armor
 	WBUFL(buf,26)=gettick();
 	WBUFL(buf,26)=gettick();
 	WBUFW(buf,38)=unit_getdir(bl);
 	WBUFW(buf,38)=unit_getdir(bl);
 	WBUFL(buf,40)=guild_id;
 	WBUFL(buf,40)=guild_id;