Core/Vehicles: Mammoth mount vendors no longer jump off the mount when talked to.
--HG-- branch : trunk
This commit is contained in:
@@ -729,6 +729,7 @@ void WorldSession::SendListInventory(uint64 vendorguid)
|
|||||||
GetPlayer()->RemoveAurasByType(SPELL_AURA_FEIGN_DEATH);
|
GetPlayer()->RemoveAurasByType(SPELL_AURA_FEIGN_DEATH);
|
||||||
|
|
||||||
// Stop the npc if moving
|
// Stop the npc if moving
|
||||||
|
if (pCreature->hasUnitState(UNIT_STAT_MOVING))
|
||||||
pCreature->StopMoving();
|
pCreature->StopMoving();
|
||||||
|
|
||||||
VendorItemData const* vItems = pCreature->GetVendorItems();
|
VendorItemData const* vItems = pCreature->GetVendorItems();
|
||||||
|
|||||||
Reference in New Issue
Block a user