diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/NPCHandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/NPCHandler.cpp b/src/game/NPCHandler.cpp index edf58fd762e..fd23991392a 100644 --- a/src/game/NPCHandler.cpp +++ b/src/game/NPCHandler.cpp @@ -500,6 +500,10 @@ void WorldSession::HandleListStabledPetsOpcode( WorldPacket & recv_data ) if(GetPlayer()->hasUnitState(UNIT_STAT_DIED)) GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_FEIGN_DEATH); + // remove mounts this fix bug where getting pet from stable while mounted deletes pet. + if(GetPlayer()->IsMounted()) + GetPlayer()->RemoveSpellsCausingAura(SPELL_AURA_MOUNTED); + SendStablePet(npcGUID); } |