summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-12 16:27:49 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-12 16:27:49 +0000
commit2b3e4c43331129d890306bfc57c92e260edd13bc (patch)
tree680d29e581fc51ab7159c7a2490db5d47c542c71 /src
parent17efda0636e47c779c7ffdf38afa1cf55cb217fd (diff)
downloadhercules-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
Diffstat (limited to 'src')
-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 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