From b571f42591a62f67623f7e419353196b79125860 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 1 May 2006 04:19:43 +0000 Subject: - 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 --- src/map/pet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/pet.c') 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; } -- cgit v1.2.3-60-g2f50