summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-07 20:58:32 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-07 20:58:32 +0000
commit77a227decf5603bb499ccf0e8a8a20733d16648f (patch)
tree4c41d25b8ac7994609600cdf27a13bc2ee15d2e6 /src/map/clif.c
parent79b7a40abaf1b4855cd3c828d96f61dd71750814 (diff)
downloadhercules-77a227decf5603bb499ccf0e8a8a20733d16648f.tar.gz
hercules-77a227decf5603bb499ccf0e8a8a20733d16648f.tar.bz2
hercules-77a227decf5603bb499ccf0e8a8a20733d16648f.tar.xz
hercules-77a227decf5603bb499ccf0e8a8a20733d16648f.zip
- Removed the equip id from the clif_pet_equip packet as it is not used for anything.
- Corrected the pet-armor field of the pet not being updated on equip/unequip of accessories, making them not show up inmediately. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7577 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3ee121d2f..9d1e8d6dc 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -6311,7 +6311,7 @@ int clif_pet_performance(struct block_list *bl,int param)
return 0;
}
-int clif_pet_equip(struct pet_data *pd,int nameid)
+int clif_pet_equip(struct pet_data *pd)
{
unsigned char buf[16];
@@ -7727,7 +7727,7 @@ int clif_charnameack (int fd, struct block_list *bl)
WBUFW(buf, 0) = cmd = 0x195;
sprintf(mobhp, "HP: %u/%u", md->status.hp, md->status.max_hp);
//Even thought mobhp ain't a name, we send it as one so the client
- //can parse it.
+ //can parse it. [Skotlex]
memcpy(WBUFP(buf,30), mobhp, NAME_LENGTH);
WBUFB(buf,54) = 0;
memcpy(WBUFP(buf,78), mobhp, NAME_LENGTH);