summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-11 23:10:14 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-11 23:10:14 +0000
commit99efeb0d137f4588d2865af5be70572577114569 (patch)
treecf1a13958f46fc48f973128090f89d7842e296bc /src
parent4abcaace34018846c00153b98a199edac8fd1970 (diff)
downloadhercules-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')
-rw-r--r--src/char_sql/char.c2
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;