From 1da444ee4f4c92bc69c9e2e897e0bf4674e52bc8 Mon Sep 17 00:00:00 2001 From: toms Date: Thu, 10 Aug 2006 23:34:35 +0000 Subject: 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 --- src/map/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.c') 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] -- cgit v1.2.3-70-g09d2