diff options
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r-- | src/char_sql/char.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 673065fe5..2cac7de08 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1559,7 +1559,6 @@ int parse_tologin(int fd) { case 0x2718: if (RFIFOREST(fd) < 2) return 0; - // do whatever it's supposed to do here? RFIFOSKIP(fd,2); break; @@ -1858,6 +1857,14 @@ int parse_frommap(int fd) { // printf("parse_frommap : %d %d %x\n", fd, RFIFOREST(fd), RFIFOW(fd,0)); switch(RFIFOW(fd, 0)) { + + // map-server alive packet + case 0x2718: + if (RFIFOREST(fd) < 2) + return 0; + RFIFOSKIP(fd,2); + break; + case 0x2af7: RFIFOSKIP(fd,2); read_gm_account(); |