summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-12 22:47:27 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-12 22:47:27 +0000
commit7049f49609ff7df50651781bdb23db66de751b96 (patch)
treee0970ae9bed11ebe592501b61b343c25024daea3 /src/map/clif.c
parentd35733732b5594c7e5da8146157a5d59325f0909 (diff)
downloadhercules-7049f49609ff7df50651781bdb23db66de751b96.tar.gz
hercules-7049f49609ff7df50651781bdb23db66de751b96.tar.bz2
hercules-7049f49609ff7df50651781bdb23db66de751b96.tar.xz
hercules-7049f49609ff7df50651781bdb23db66de751b96.zip
- Fixed a bug in the new knockback additional packet.
- Commented out the new knockback skill additional packet as it makes most skills not display an animation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9482 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 11c7a4338..66711d1b2 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1865,8 +1865,8 @@ int clif_changemapserver(struct map_session_data *sd, char *mapname, int x, int
int clif_blown(struct block_list *bl) {
//Aegis packets says fixpos, but it's unsure whether slide works better or not.
- return clif_fixpos(bl);
-// return clif_slide(bl, bl->x, bl->y);
+// return clif_fixpos(bl);
+ return clif_slide(bl, bl->x, bl->y);
}
/*==========================================
*
@@ -4550,12 +4550,14 @@ int clif_skill_damage(struct block_list *src,struct block_list *dst,
WBUFL(buf,20)=ddelay;
WBUFW(buf,26)=skill_lv;
WBUFW(buf,28)=div;
- if (flag && src->type == BL_PC)
+#if 0
+ if (flag && dst->type == BL_PC)
{ //Needed for appropiate knockback on the receiving client.
WBUFW(buf,24)=-30000;
WBUFB(buf,30)=6;
- clif_send(buf,packet_len_table[0x114],src,SELF);
+ clif_send(buf,packet_len_table[0x114],dst,SELF);
}
+#endif
if (battle_config.hide_woe_damage && map_flag_gvg(src->m)) {
WBUFW(buf,24)=damage?div:0;
} else {
@@ -4587,12 +4589,14 @@ int clif_skill_damage(struct block_list *src,struct block_list *dst,
WBUFL(buf,20)=ddelay;
WBUFW(buf,28)=skill_lv;
WBUFW(buf,30)=div;
- if (flag && src->type == BL_PC)
+#if 0
+ if (flag && dst->type == BL_PC)
{ //Needed for appropiate knockback on the receiving client.
WBUFL(buf,24)=-30000;
WBUFB(buf,32)=6;
- clif_send(buf,packet_len_table[0x114],src,SELF);
+ clif_send(buf,packet_len_table[0x114],dst,SELF);
}
+#endif
if (battle_config.hide_woe_damage && map_flag_gvg(src->m)) {
WBUFL(buf,24)=damage?div:0;
} else {