From fc2bec97d7726e3e5a55e0b98c9c81eec0576bf4 Mon Sep 17 00:00:00 2001 From: Kevin Date: Fri, 11 Apr 2008 23:10:14 +0000 Subject: [PATCH] At char select, the char server will set character to server -2 (server unknown) rather then -1 (at char select) and will be changed to the map server id once the character loads in. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12569 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/char_sql/char.c b/src/char_sql/char.c index d15888b5df..b4f2671b5f 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -3160,6 +3160,8 @@ int parse_char(int fd) node->ip = ipl; idb_put(auth_db, sd->account_id, node); + set_char_online(-2,node->char_id,sd->account_id); + } break;