diff options
Diffstat (limited to 'src/map/pet.c')
-rw-r--r-- | src/map/pet.c | 2 |
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;
}
|