diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-12 16:27:49 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-12 16:27:49 +0000 |
commit | 2b3e4c43331129d890306bfc57c92e260edd13bc (patch) | |
tree | 680d29e581fc51ab7159c7a2490db5d47c542c71 | |
parent | 17efda0636e47c779c7ffdf38afa1cf55cb217fd (diff) | |
download | hercules-2b3e4c43331129d890306bfc57c92e260edd13bc.tar.gz hercules-2b3e4c43331129d890306bfc57c92e260edd13bc.tar.bz2 hercules-2b3e4c43331129d890306bfc57c92e260edd13bc.tar.xz hercules-2b3e4c43331129d890306bfc57c92e260edd13bc.zip |
- Fixed skills displaying a 32k damage when used while disguised.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9476 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | src/map/clif.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 606a3d8eb..754d5b034 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 ac6a8eda0..118260197 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 |