summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
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 4aef4e9b4..db3ee4928 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -973,7 +973,7 @@ static int pet_ai_sub_hard(struct pet_data *pd,unsigned int tick)
//Return speed to normal.
if (pd->speed != sd->petDB->speed)
- pd->speed == sd->petDB->speed;
+ pd->speed = sd->petDB->speed;
if (pd->target_id) {
target= map_id2bl(pd->target_id);