diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-20 17:49:30 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-20 17:49:30 +0000 |
commit | 7c958b1bd13c14022fb118fca661eb449645c87a (patch) | |
tree | b6776d6eb162b0b0c834b8a5a83417e77412c314 /src/map/map.c | |
parent | c5d586a611baf934fe30b2291e51002a4506bdbb (diff) | |
download | hercules-7c958b1bd13c14022fb118fca661eb449645c87a.tar.gz hercules-7c958b1bd13c14022fb118fca661eb449645c87a.tar.bz2 hercules-7c958b1bd13c14022fb118fca661eb449645c87a.tar.xz hercules-7c958b1bd13c14022fb118fca661eb449645c87a.zip |
some Valaris's fixes of "double connect bug"
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@663 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/map.c b/src/map/map.c index f066b8f00..d709272be 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1035,6 +1035,10 @@ int map_quit(struct map_session_data *sd) { chrif_save(sd); storage_storage_save(sd); + //double connect bug fix by Valaris + if(sd->alive_timer) + delete_timer(sd->alive_timer,pc_alive_timer); + if( sd->npc_stackbuf && sd->npc_stackbuf != NULL) free( sd->npc_stackbuf ); |