diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-18 17:56:15 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-02-18 17:56:15 +0000 |
commit | 54d59b3f91a08ffc70e6a2f22776a1de25f89d93 (patch) | |
tree | f75edad6cba029a3bf826312d22f608ea53651db | |
parent | e901cc96b0095e523bae56da43766c9c821e6a91 (diff) | |
download | hercules-54d59b3f91a08ffc70e6a2f22776a1de25f89d93.tar.gz hercules-54d59b3f91a08ffc70e6a2f22776a1de25f89d93.tar.bz2 hercules-54d59b3f91a08ffc70e6a2f22776a1de25f89d93.tar.xz hercules-54d59b3f91a08ffc70e6a2f22776a1de25f89d93.zip |
Fixed char server's 0x2b05 not skipping it's full length.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15607 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/char/char.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/char/char.c b/src/char/char.c index b1f0ee224..a6e5d39c8 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -2713,8 +2713,7 @@ int parse_frommap(int fd) map_fd = server[map_id].fd; //Char should just had been saved before this packet, so this should be safe. [Skotlex] char_data = (struct mmo_charstatus*)uidb_get(char_db_,RFIFOL(fd,14)); - if (char_data == NULL) - { //Really shouldn't happen. + if (char_data == NULL) { //Really shouldn't happen. mmo_char_fromsql(RFIFOL(fd,14), &char_dat, true); char_data = (struct mmo_charstatus*)uidb_get(char_db_,RFIFOL(fd,14)); } @@ -2760,7 +2759,7 @@ int parse_frommap(int fd) WFIFOL(fd,6) = 0; //Set login1 to 0. WFIFOSET(fd,30); } - RFIFOSKIP(fd,35); + RFIFOSKIP(fd,39); } break; |