summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 05:27:27 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-27 05:27:27 +0000
commit379d757aaf859c0cb511933d225c5b63da4c3003 (patch)
treeca94b5222b20ed02e844655f6e92ce03e15f4a1e
parent974c1e034cc6d932ee793fc4eddf9b3578aa612f (diff)
downloadhercules-379d757aaf859c0cb511933d225c5b63da4c3003.tar.gz
hercules-379d757aaf859c0cb511933d225c5b63da4c3003.tar.bz2
hercules-379d757aaf859c0cb511933d225c5b63da4c3003.tar.xz
hercules-379d757aaf859c0cb511933d225c5b63da4c3003.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@806 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index 4e7223d11..cb3a3a0a9 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1057,7 +1057,7 @@ int map_quit(struct map_session_data *sd) {
//double connect bug fix by Valaris
if(sd->alive_timer) {
delete_timer(sd->alive_timer,pc_alive_timer);
- sd->alive_timer = 0;
+ sd->alive_timer = -1; // not 0, the server will assume it's still active
}
if( sd->npc_stackbuf && sd->npc_stackbuf != NULL) {