diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 606a3d8ebf..754d5b034f 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,7 @@ 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/12/12 + * Fixed skills displaying a 32k damage when used while disguised. [Skotlex] * Minor changes to ers. * Removed unused/hardly used cbasetypes typedefs. * Updated txt-converter's makefile to include utils.o [FlavioJS] diff --git a/src/map/clif.c b/src/map/clif.c index ac6a8eda00..1182601979 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -4595,7 +4595,7 @@ int clif_skill_damage(struct block_list *src,struct block_list *dst, if(disguised(src)) { WBUFL(buf,4)=-src->id; if(damage > 0) - WBUFW(buf,24)=-1; + WBUFL(buf,24)=-1; clif_send(buf,packet_len_table[0x1de],src,SELF); } if (disguised(dst)) { @@ -4603,7 +4603,7 @@ int clif_skill_damage(struct block_list *src,struct block_list *dst, if (disguised(src)) WBUFL(buf,4)=src->id; else if(damage > 0) - WBUFW(buf,24)=-1; + WBUFL(buf,24)=-1; clif_send(buf,packet_len_table[0x1de],dst,SELF); } #endif