diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/char/char.c | 2 | ||||
-rw-r--r-- | src/char_sql/char.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/char/char.c b/src/char/char.c index 5ecbc4f98..d56c79b28 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -3633,12 +3633,12 @@ int parse_char(int fd) WFIFOL(login_fd,2) = sd->account_id; memcpy(WFIFOP(login_fd, 6), email, 40); WFIFOSET(login_fd,46); + // change value to put new packet (char selection) RFIFOSKIP(fd,-3); //FIXME: Will this work? Messing with the received buffer is ugly anyway... RFIFOW(fd,0) = 0x66; RFIFOB(fd,2) = char_dat[sd->found_char[i]].status.char_num; // not send packet, it's modify of actual packet - break; } else { WFIFOHEAD(fd,3); WFIFOW(fd,0) = 0x70; diff --git a/src/char_sql/char.c b/src/char_sql/char.c index f3ecdfe43..f8729a39b 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1795,7 +1795,6 @@ int parse_fromlogin(int fd) WFIFOW(i,0) = 0x81; WFIFOB(i,2) = 2; WFIFOSET(i,3); - break; } else //Shouldn't happen, but just in case. set_char_offline(99, aid); |