Core/Movement: 7fff83d675 followup

remove home position set from creature PauseMovement, and use it when necessary
change log level on DelayedDelete

(cherry picked from commit cd4775420a)
This commit is contained in:
ccrs
2017-08-12 17:35:46 +02:00
committed by Shauren
parent 7586daad62
commit 0a133e77d6
9 changed files with 9 additions and 11 deletions

View File

@@ -601,6 +601,7 @@ void WorldSession::SendListInventory(ObjectGuid vendorGuid)
// Stop the npc if moving
vendor->PauseMovement(sWorld->getIntConfig(CONFIG_CREATURE_STOP_FOR_PLAYER));
vendor->SetHomePosition(vendor->GetPosition());
VendorItemData const* vendorItems = vendor->GetVendorItems();
uint32 rawItemCount = vendorItems ? vendorItems->GetItemCount() : 0;