summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/clif.c4
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