- Char-server SQL won't perform the reconnect cleanup routines when kick_on_disconnect is disabled.

- Renamed summons_inherit_effects to summons_trigger_autospells as the setting now only makes the attacks of the slaves trigger the autospells of the master (as it should be).
- Corrected code capping no_spawn_on_player to 50 when the max should be 100.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7459 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex
2006-07-03 19:59:48 +00:00
parent 0295ac624f
commit 1d6dbc95dc
10 changed files with 26 additions and 23 deletions

View File

@@ -3767,6 +3767,9 @@ int check_connect_login_server(int tid, unsigned int tick, int id, int data) {
WFIFOSET(login_fd,86);
if (!kick_on_disconnect)
return 0; //Do not perform on-connect cleanup duties.
//(re)connected to login-server,
//now wi'll look in sql which player's are ON and set them OFF
//AND send to all mapservers (if we have one / ..) to kick the players