summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-09 18:28:10 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-09 18:28:10 +0000
commit421688378f9093bf4cad8edd743a3209ffd3e319 (patch)
treeec3ccb2f6b09c784855c4cfd12b608989a107ab0
parent201d850ec63f84808533d44b37caa5f582c4c25e (diff)
downloadhercules-421688378f9093bf4cad8edd743a3209ffd3e319.tar.gz
hercules-421688378f9093bf4cad8edd743a3209ffd3e319.tar.bz2
hercules-421688378f9093bf4cad8edd743a3209ffd3e319.tar.xz
hercules-421688378f9093bf4cad8edd743a3209ffd3e319.zip
- Fixed the head_bottom (pet-armor) position in packet 0x22c when crafted for non-players.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6530 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/clif.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 0e454a0e8..2685f485a 100644
--- a/Changelog-Trunk.txt
+++ b/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/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
regardless of sc defense of the target player (that is, they cannot be
avoided/blocked) [Skotlex]
diff --git a/src/map/clif.c b/src/map/clif.c
index 937cc17b9..36f53d271 100644
--- a/src/map/clif.c
+++ b/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,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();
WBUFW(buf,38)=unit_getdir(bl);
WBUFL(buf,40)=guild_id;