summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-26 13:47:01 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-26 13:47:01 +0000
commit0fcfb97f9aab16e782440a9f785dba45e89213d4 (patch)
tree1d0ef7139d9fdc002cadfaac407bbabed478a14d /src/map/clif.c
parentb6217a50d072c2f2dd9f127ef95b24216bd1dff6 (diff)
downloadhercules-0fcfb97f9aab16e782440a9f785dba45e89213d4.tar.gz
hercules-0fcfb97f9aab16e782440a9f785dba45e89213d4.tar.bz2
hercules-0fcfb97f9aab16e782440a9f785dba45e89213d4.tar.xz
hercules-0fcfb97f9aab16e782440a9f785dba45e89213d4.zip
- Autospells will now again check for the skill's nk value, so that skills tagged "nodamage" skills will not trigger autospells.
- A bit of cleaning in pc_equippoint - Corrected clif_item_sub so that pet eggs will correctly be sent as equipment (fixes them showing up "broken" and with random refine levels) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7341 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 9994de65e..2527ffebe 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2217,7 +2217,7 @@ void clif_item_sub(unsigned char *buf, int n, struct item *i, struct item_data *
WBUFW(buf,n)=i->nameid;
WBUFB(buf,n+2)=itemtype(id->type);
WBUFB(buf,n+3)=i->identify;
- if (equip > 0) { //Equippable item.
+ if (equip > 0 || id->type == 7) { //Equippable item (pet eggs also count).
WBUFW(buf,n+4)=equip;
WBUFW(buf,n+6)=i->equip;
WBUFB(buf,n+8)=i->attribute;