From a9d5900eb5088d926f5ada7246a6de94c298e7cf Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 3 Nov 2014 10:19:45 -0200 Subject: Fixed mmo_char_tobuf for < 20141022 Follow up 239d480487e24294975f35ed55f210837ad1088e Special Thanks to Valo! Signed-off-by: shennetsind --- src/char/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/char/char.c b/src/char/char.c index fca2ec2fe..60ef11397 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1964,7 +1964,7 @@ int mmo_char_tobuf(uint8* buffer, struct mmo_charstatus* p) { WBUFW(buf,52) = p->class_; WBUFW(buf,54) = p->hair; -#if PACKETVER > 20140000 +#if PACKETVER >= 20141022 //When the weapon is sent and your option is riding, the client crashes on login!? WBUFL(buf,56) = p->option&(0x20|0x80000|0x100000|0x200000|0x400000|0x800000|0x1000000|0x2000000|0x4000000|0x8000000) ? 0 : p->weapon; offset+=2; -- cgit v1.2.3-70-g09d2