summaryrefslogtreecommitdiff
path: root/src/map/pet.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-16 07:08:32 -0300
committershennetsind <ind@henn.et>2013-09-16 07:08:32 -0300
commit4eb223b62e70a293dd2c95f1ce8b29a3f0c83ef7 (patch)
tree3a606178f2cb073eba15ec840a5ed6c9f88175c7 /src/map/pet.h
parent58cd45757fff179ca5b381bcb777d50a5dea302d (diff)
downloadhercules-4eb223b62e70a293dd2c95f1ce8b29a3f0c83ef7.tar.gz
hercules-4eb223b62e70a293dd2c95f1ce8b29a3f0c83ef7.tar.bz2
hercules-4eb223b62e70a293dd2c95f1ce8b29a3f0c83ef7.tar.xz
hercules-4eb223b62e70a293dd2c95f1ce8b29a3f0c83ef7.zip
HPM: Unit.c Interface
Fully Interfaced Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/pet.h')
-rw-r--r--src/map/pet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pet.h b/src/map/pet.h
index b46f55229..4060b5382 100644
--- a/src/map/pet.h
+++ b/src/map/pet.h
@@ -126,8 +126,8 @@ int pet_skill_bonus_timer(int tid, unsigned int tick, int id, intptr_t data); //
int pet_recovery_timer(int tid, unsigned int tick, int id, intptr_t data); // [Valaris]
int pet_heal_timer(int tid, unsigned int tick, int id, intptr_t data); // [Valaris]
-#define pet_stop_walking(pd, type) unit_stop_walking(&(pd)->bl, type)
-#define pet_stop_attack(pd) unit_stop_attack(&(pd)->bl)
+#define pet_stop_walking(pd, type) unit->stop_walking(&(pd)->bl, type)
+#define pet_stop_attack(pd) unit->stop_attack(&(pd)->bl)
int read_petdb(void);
int do_init_pet(void);