summaryrefslogtreecommitdiff
path: root/src/map/pet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pet.h')
-rw-r--r--src/map/pet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.h b/src/map/pet.h
index c1c27b105..835d8a04d 100644
--- a/src/map/pet.h
+++ b/src/map/pet.h
@@ -58,7 +58,7 @@ int pet_skill_bonus_timer(int tid,unsigned int tick,int id,int data); // [Valari
int pet_recovery_timer(int tid,unsigned int tick,int id,int data); // [Valaris]
int pet_heal_timer(int tid,unsigned int tick,int id,int data); // [Valaris]
-#define pet_stop_walking(pd, type) { if((pd)->ud.walktimer != -1) unit_stop_walking(&(pd)->bl, type); }
+#define pet_stop_walking(pd, type) unit_stop_walking(&(pd)->bl, type)
#define pet_stop_attack(pd) { if((pd)->ud.attacktimer != -1) unit_stop_attack(&(pd)->bl); }
int read_petdb(void);