summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-01 04:19:43 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-01 04:19:43 +0000
commitb571f42591a62f67623f7e419353196b79125860 (patch)
tree3303fcd71d839d36c6ba59b1db110789d77bd732 /src/map/pet.c
parent710664d4dc998aacd6b152ac3dbe32f2acd933b0 (diff)
downloadhercules-b571f42591a62f67623f7e419353196b79125860.tar.gz
hercules-b571f42591a62f67623f7e419353196b79125860.tar.bz2
hercules-b571f42591a62f67623f7e419353196b79125860.tar.xz
hercules-b571f42591a62f67623f7e419353196b79125860.zip
- Fixed a small typo/logic-error in pet_ai_sub_hard
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6424 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 62161dd87..79645cda8 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -958,7 +958,7 @@ static int pet_ai_sub_hard(struct pet_data *pd,unsigned int tick)
pd->speed = (sd->speed>>1);
if(pd->speed <= 0)
pd->speed = 1;
- if (!unit_walktobl(&pd->bl, &sd->bl, 3, 0));
+ if (!unit_walktobl(&pd->bl, &sd->bl, 3, 0))
pet_randomwalk(pd,tick);
return 0;
}