Originally posted by [b]Ai4rei[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2819
src/char*/char.c:
CODE
int check_connect_login_server(int tid, unsigned int tick, int id, intptr data)
{
[...]
WFIFOL(login_fd,58) = htons(char_port);
Should be WFIFOW. Applies to charmerge (if_login.c) as well.