fix(Core): fix chests not despawning when opened in group (#5371)

This commit is contained in:
Axel Cocat
2021-04-20 22:51:55 +02:00
committed by GitHub
parent a278fd7340
commit cd6ee1c644
3 changed files with 12 additions and 0 deletions

View File

@@ -60,6 +60,7 @@ GameObject::GameObject() : WorldObject(false), MovableMapObject(),
m_lootGenerationTime = 0;
ResetLootMode(); // restore default loot mode
loot.sourceGameObject = this;
m_stationaryPosition.Relocate(0.0f, 0.0f, 0.0f, 0.0f);
}