Browse Source

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
Kevin 17 years ago
parent
commit
fc2bec97d7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/char_sql/char.c

+ 2 - 0
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;