summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-08 19:15:03 -0300
committershennetsind <ind@henn.et>2013-07-08 19:15:03 -0300
commit4b0a216da38d3c704315ce8c43592068de5781c2 (patch)
tree561532f928e3431a92b7c2f48865bfb33ef16312 /src
parent22f84cfc973870ecc0946c1ab447d9ad3ce3e7d3 (diff)
downloadhercules-4b0a216da38d3c704315ce8c43592068de5781c2.tar.gz
hercules-4b0a216da38d3c704315ce8c43592068de5781c2.tar.bz2
hercules-4b0a216da38d3c704315ce8c43592068de5781c2.tar.xz
hercules-4b0a216da38d3c704315ce8c43592068de5781c2.zip
Fixed skill delunit problem on packetver > 20120418 && < 20130000
Special Thanks to Judas Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index a314dc6d2..4233e86e8 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -296,6 +296,13 @@ int clif_send_sub(struct block_list *bl, va_list ap) {
}
}
break;
+/* 0x120 crashes the client when warping for this packetver range [Ind/Hercules], thanks to Judas! */
+#if PACKETVER > 20120418 && PACKETVER < 20130000
+ case AREA:
+ if( WBUFW(buf, 0) == 0x120 && sd->state.warping )
+ return 0;
+ break;
+#endif
}
WFIFOHEAD(fd, len);