diff options
author | Kevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-11 23:10:14 +0000 |
---|---|---|
committer | Kevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-04-11 23:10:14 +0000 |
commit | 99efeb0d137f4588d2865af5be70572577114569 (patch) | |
tree | cf1a13958f46fc48f973128090f89d7842e296bc /src/char_sql | |
parent | 4abcaace34018846c00153b98a199edac8fd1970 (diff) | |
download | hercules-99efeb0d137f4588d2865af5be70572577114569.tar.gz hercules-99efeb0d137f4588d2865af5be70572577114569.tar.bz2 hercules-99efeb0d137f4588d2865af5be70572577114569.tar.xz hercules-99efeb0d137f4588d2865af5be70572577114569.zip |
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12569 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/char.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index d15888b5d..b4f2671b5 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; |