summaryrefslogtreecommitdiff
path: root/src/map/pet.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-03 12:35:34 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-03 12:35:34 +0000
commitcf9b4b50d677a0846c6213acb6bd58fc6ff0d0bb (patch)
treeeeded5380a9eed5e1885b8db9b88ca53e3087a9c /src/map/pet.h
parent92a6b6e9e2593b65e3337dcc45347f22b825a2ed (diff)
downloadhercules-cf9b4b50d677a0846c6213acb6bd58fc6ff0d0bb.tar.gz
hercules-cf9b4b50d677a0846c6213acb6bd58fc6ff0d0bb.tar.bz2
hercules-cf9b4b50d677a0846c6213acb6bd58fc6ff0d0bb.tar.xz
hercules-cf9b4b50d677a0846c6213acb6bd58fc6ff0d0bb.zip
Tried to make sense out of timer.c ... and failed
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11647 54d463be-8e91-2dee-dedb-b68131a5f0ec
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);