summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-29 16:07:22 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-05-29 16:07:22 +0000
commit1f3a9b6de530b1bac9657139af6c1684e4b4094f (patch)
tree218f3a4f7451540fa8cedded92a5f8881f2330ac /src
parent7badbcba4e7ad1c46f0438d1535f77e4cbbc6fd7 (diff)
downloadhercules-1f3a9b6de530b1bac9657139af6c1684e4b4094f.tar.gz
hercules-1f3a9b6de530b1bac9657139af6c1684e4b4094f.tar.bz2
hercules-1f3a9b6de530b1bac9657139af6c1684e4b4094f.tar.xz
hercules-1f3a9b6de530b1bac9657139af6c1684e4b4094f.zip
* Fixed pets' speed would not get updated to normal, after they finished running to their owner (bugreport:1304).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14838 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/pet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index 1f350ec4b..43c54d74a 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -858,6 +858,7 @@ static int pet_ai_sub_hard(struct pet_data *pd, struct map_session_data *sd, uns
if (pd->ud.walktimer != INVALID_TIMER)
return 0; //Wait until the pet finishes walking back to master.
pd->status.speed = pd->petDB->speed;
+ pd->ud.state.change_walk_target = pd->ud.state.speed_changed = 1;
}
if (pd->target_id) {