diff options
author | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-10 23:34:35 +0000 |
---|---|---|
committer | toms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-10 23:34:35 +0000 |
commit | 1da444ee4f4c92bc69c9e2e897e0bf4674e52bc8 (patch) | |
tree | 0d86857c93f00868dc755cd6332516fa41fb01d0 /src/map/map.c | |
parent | aa8f497e6714b4f93c6ea81a99ebd96d0c3501ef (diff) | |
download | hercules-1da444ee4f4c92bc69c9e2e897e0bf4674e52bc8.tar.gz hercules-1da444ee4f4c92bc69c9e2e897e0bf4674e52bc8.tar.bz2 hercules-1da444ee4f4c92bc69c9e2e897e0bf4674e52bc8.tar.xz hercules-1da444ee4f4c92bc69c9e2e897e0bf4674e52bc8.zip |
Code cleanup on homunc, they stay in memory until player disconnect or homunc destruction
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8241 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c index 71af45530..1f4a2ec4b 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1669,7 +1669,7 @@ int map_quit(struct map_session_data *sd) { sd->state.waitingdisconnect = 1; if (sd->pd) unit_free(&sd->pd->bl); if(sd->status.hom_id > 0 && sd->hd) //[orn] - merc_hom_delete(sd->hd, 0) ; + merc_hom_delete(sd->hd, 2) ; unit_free(&sd->bl); chrif_save(sd,1); } else { //Try to free some data, without saving anything (this could be invoked on map server change. [Skotlex] |