summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-18 17:56:15 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-02-18 17:56:15 +0000
commit54d59b3f91a08ffc70e6a2f22776a1de25f89d93 (patch)
treef75edad6cba029a3bf826312d22f608ea53651db
parente901cc96b0095e523bae56da43766c9c821e6a91 (diff)
downloadhercules-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.c5
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;