diff options
author | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-21 16:36:06 +0000 |
---|---|---|
committer | amber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-21 16:36:06 +0000 |
commit | f951761cb5e72c8ce65d6465af413f0dc2730e72 (patch) | |
tree | c9774d4da9607dce1f8f4551ce6fbaa26260a2e3 /src/map/map.c | |
parent | 99ebdaf8e77e81e43d39825163837d6f4b2bc07a (diff) | |
download | hercules-f951761cb5e72c8ce65d6465af413f0dc2730e72.tar.gz hercules-f951761cb5e72c8ce65d6465af413f0dc2730e72.tar.bz2 hercules-f951761cb5e72c8ce65d6465af413f0dc2730e72.tar.xz hercules-f951761cb5e72c8ce65d6465af413f0dc2730e72.zip |
updates
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@700 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/map/map.c b/src/map/map.c index 134250cdb..a6317234f 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1023,21 +1023,16 @@ int map_quit(struct map_session_data *sd) { if(pc_isdead(sd)) pc_setrestartvalue(sd,2); + pc_makesavestatus(sd); - //クロ?ンスキルで?えたスキルは消す - for(i=0;i<MAX_SKILL;i++){ - if(sd->status.skill[i].flag == 13){ - sd->status.skill[i].id=0; - sd->status.skill[i].lv=0; - sd->status.skill[i].flag=0; - } - } chrif_save(sd); storage_storage_save(sd); //double connect bug fix by Valaris - if(sd->alive_timer) + if(sd->alive_timer) { delete_timer(sd->alive_timer,pc_alive_timer); + sd->alive_timer = NULL; + } if( sd->npc_stackbuf && sd->npc_stackbuf != NULL) free( sd->npc_stackbuf ); |