diff options
author | Xanadu <none@none> | 2010-10-17 03:09:01 +0200 |
---|---|---|
committer | Xanadu <none@none> | 2010-10-17 03:09:01 +0200 |
commit | f5911917b4ea1e97b0f22876dc8f35bbfa9833c9 (patch) | |
tree | e803ab11e700c578b72e117f30344796a2c35eb8 /src | |
parent | 8716264edaea3b78d79987517159abb5fbe6e834 (diff) |
Core/Vehicles: Mammoth mount vendors no longer jump off the mount when talked to.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/game/Server/Protocol/Handlers/ItemHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Server/Protocol/Handlers/ItemHandler.cpp b/src/server/game/Server/Protocol/Handlers/ItemHandler.cpp index ebf5c93816e..b9e675066e0 100755 --- a/src/server/game/Server/Protocol/Handlers/ItemHandler.cpp +++ b/src/server/game/Server/Protocol/Handlers/ItemHandler.cpp @@ -729,7 +729,8 @@ void WorldSession::SendListInventory(uint64 vendorguid) GetPlayer()->RemoveAurasByType(SPELL_AURA_FEIGN_DEATH); // Stop the npc if moving - pCreature->StopMoving(); + if (pCreature->hasUnitState(UNIT_STAT_MOVING)) + pCreature->StopMoving(); VendorItemData const* vItems = pCreature->GetVendorItems(); if (!vItems) |