浏览代码

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 年之前
父节点
当前提交
fc2bec97d7
共有 1 个文件被更改,包括 2 次插入0 次删除
  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;