diff options
author | shennetsind <ind@henn.et> | 2013-07-08 19:15:03 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-07-08 19:15:03 -0300 |
commit | 4b0a216da38d3c704315ce8c43592068de5781c2 (patch) | |
tree | 561532f928e3431a92b7c2f48865bfb33ef16312 | |
parent | 22f84cfc973870ecc0946c1ab447d9ad3ce3e7d3 (diff) | |
download | hercules-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>
-rw-r--r-- | src/map/clif.c | 7 |
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); |