summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-21 13:29:45 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-21 13:29:45 +0000
commitc2ca8110f6a3cab0171d32920b7a724d0c180068 (patch)
treecce3f3a36fd692a9c7d87963ef4b14dd9c57103b /src/map/unit.c
parentedaa6dcc93fd64bd961fcbc701e7ce16bf31a350 (diff)
downloadhercules-c2ca8110f6a3cab0171d32920b7a724d0c180068.tar.gz
hercules-c2ca8110f6a3cab0171d32920b7a724d0c180068.tar.bz2
hercules-c2ca8110f6a3cab0171d32920b7a724d0c180068.tar.xz
hercules-c2ca8110f6a3cab0171d32920b7a724d0c180068.zip
- 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
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c1
1 files changed, 1 insertions, 0 deletions
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