From c2ca8110f6a3cab0171d32920b7a724d0c180068 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 21 Nov 2007 13:29:45 +0000 Subject: - Moved subtype from struct block_list to struct npc_data. - Fixed some compilation warnings. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11772 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 21cdb61fe..0dd464a67 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1724,6 +1724,7 @@ int unit_remove_map(struct block_list *bl, int clrtype) } } else if (bl->type == BL_HOM) { struct homun_data *hd = (struct homun_data *) bl; + ud->canact_tick = ud->canmove_tick; //It appears HOM do reset the can-act tick. if(!hd->homunculus.intimacy && !(hd->master && hd->master->state.waitingdisconnect) ) { //If logging out, this is deleted on unit_free -- cgit v1.2.3-60-g2f50