diff options
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c index 85f97e154..0e3c4579f 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1731,7 +1731,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; @@ -2142,6 +2141,14 @@ int parse_frommap(int fd) { // printf("parse_frommap: connection #%d, packet: 0x%x (with being read: %d bytes).\n", fd, RFIFOW(fd,0), RFIFOREST(fd)); switch(RFIFOW(fd,0)) { + + // map-server alive packet + case 0x2718: + if (RFIFOREST(fd) < 2) + return 0; + RFIFOSKIP(fd,2); + break; + // request from map-server to reload GM accounts. Transmission to login-server (by Yor) case 0x2af7: if (login_fd > 0) { // don't send request if no login-server |