diff options
author | shennetsind <ind@henn.et> | 2014-11-03 10:19:45 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2014-11-03 10:19:45 -0200 |
commit | a9d5900eb5088d926f5ada7246a6de94c298e7cf (patch) | |
tree | eaa55d79c3984abd0b24a1f57ae29bac08c1c1a4 /src/char/char.c | |
parent | 092949e0fea0c103c7d3fb32953182781853f575 (diff) | |
download | hercules-a9d5900eb5088d926f5ada7246a6de94c298e7cf.tar.gz hercules-a9d5900eb5088d926f5ada7246a6de94c298e7cf.tar.bz2 hercules-a9d5900eb5088d926f5ada7246a6de94c298e7cf.tar.xz hercules-a9d5900eb5088d926f5ada7246a6de94c298e7cf.zip |
Fixed mmo_char_tobuf for < 20141022
Follow up 239d480487e24294975f35ed55f210837ad1088e
Special Thanks to Valo!
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |