aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/SpellEffects.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index d9ca84c18ae..7d5fe3d8116 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -5720,6 +5720,8 @@ void Spell::EffectSummonCritter(uint32 i)
critter->SetReactState(REACT_PASSIVE);
critter->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
+ critter->GetMotionMaster()->MoveTargetedHome();
+
std::string name = player->GetName();
name.append(petTypeSuffix[3]);
critter->SetName( name );