Core/GameObject: regenerate GO loot if respawn time passed since last loot generation time and not all items were taken (#19101)

This commit is contained in:
xinef1 authored and Aokromes committed 2017-03-03 01:31:44 +01:00
1 parent 9d021fce21
commit 206fddf129
3 files changed
+10

No files matched your search

@@ -60,6 +60,7 @@ GameObject::GameObject() : WorldObject(false), MapObject(),
m_lootRecipientGroup = 0;
m_groupLootTimer = 0;
lootingGroupLowGUID = 0;
m_lootGenerationTime = 0;
ResetLootMode(); // restore default loot mode
m_stationaryPosition.Relocate(0.0f, 0.0f, 0.0f, 0.0f);