diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-06 15:02:42 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-06 15:02:42 +0000 |
commit | 28cb9b9d074dbefa1e5de9805ff172f7dbd39da4 (patch) | |
tree | 97e50481ade2a54e0232cc68f8645a7a3184264e /src/map/map.c | |
parent | 57d0506ec4a06a8330a0f344e77ff9dba1bede5c (diff) | |
download | hercules-28cb9b9d074dbefa1e5de9805ff172f7dbd39da4.tar.gz hercules-28cb9b9d074dbefa1e5de9805ff172f7dbd39da4.tar.bz2 hercules-28cb9b9d074dbefa1e5de9805ff172f7dbd39da4.tar.xz hercules-28cb9b9d074dbefa1e5de9805ff172f7dbd39da4.zip |
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@924 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/map/map.c b/src/map/map.c index 6c028628d..039bdc5f2 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1051,12 +1051,6 @@ int map_quit(struct map_session_data *sd) { storage_storage_dirty(sd); storage_storage_save(sd); - //double connect bug fix by Valaris - if(sd->alive_timer > 0) { - delete_timer(sd->alive_timer,pc_alive_timer); - sd->alive_timer = -1; // not 0, the server will assume it's still active - } - if( sd->npc_stackbuf && sd->npc_stackbuf != NULL) { free( sd->npc_stackbuf ); sd->npc_stackbuf = NULL; @@ -2440,6 +2434,8 @@ int sql_config_read(char *cfgName) strcpy(login_server_pw, w2); } else if(strcmpi(w1,"login_server_db")==0){ strcpy(login_server_db, w2); + } else if(strcmpi(w1,"stall_time")==0){ + stall_time_ = atoi(w2); } else if(strcmpi(w1,"lowest_gm_level")==0){ lowest_gm_level = atoi(w2); } else if(strcmpi(w1,"read_gm_interval")==0){ |