From 4b0a216da38d3c704315ce8c43592068de5781c2 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 8 Jul 2013 19:15:03 -0300 Subject: Fixed skill delunit problem on packetver > 20120418 && < 20130000 Special Thanks to Judas Signed-off-by: shennetsind --- src/map/clif.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2