Core/Vehicles: Mammoth mount vendors no longer jump off the mount when talked to.

--HG--
branch : trunk
This commit is contained in:
Xanadu
2010-10-17 03:09:01 +02:00
parent 8716264eda
commit f5911917b4

View File

@@ -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)