summaryrefslogtreecommitdiff
path: root/src/map/unit.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-04-27 01:40:19 +0200
committerHaru <haru@dotalux.com>2016-04-27 01:40:19 +0200
commitcd86cccaefd4ecd13c68d95d7967f0d8f4f890ff (patch)
treedd8abdcbeee553c56feb62c23fa56f7cf0be009a /src/map/unit.h
parent9b7f03b129503362c6349e0c0f7f42637df32ab5 (diff)
parent1906d3327c586b72c6989f9ba4a7b95b25dc6341 (diff)
downloadhercules-cd86cccaefd4ecd13c68d95d7967f0d8f4f890ff.tar.gz
hercules-cd86cccaefd4ecd13c68d95d7967f0d8f4f890ff.tar.bz2
hercules-cd86cccaefd4ecd13c68d95d7967f0d8f4f890ff.tar.xz
hercules-cd86cccaefd4ecd13c68d95d7967f0d8f4f890ff.zip
Merge pull request #1269 from 4144/timersfix
Fix one of timer issue and add protection agains future issues like this
Diffstat (limited to 'src/map/unit.h')
-rw-r--r--src/map/unit.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/unit.h b/src/map/unit.h
index 0279d73c1..8c4c34696 100644
--- a/src/map/unit.h
+++ b/src/map/unit.h
@@ -105,6 +105,7 @@ struct unit_interface {
/* */
struct unit_data* (*bl2ud) (struct block_list *bl);
struct unit_data* (*bl2ud2) (struct block_list *bl);
+ void (*init_ud) (struct unit_data *ud);
int (*attack_timer) (int tid, int64 tick, int id, intptr_t data);
int (*walktoxy_timer) (int tid, int64 tick, int id, intptr_t data);
int (*walktoxy_sub) (struct block_list *bl);