diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index d016cd913..d18bc9f0b 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -7720,19 +7720,13 @@ void ObjectMgr::LoadGameObjectForQuests() switch(goInfo->type) { - // scan GO chest with loot including quest items case GAMEOBJECT_TYPE_CHEST: { + // scan GO chest with loot including quest items uint32 loot_id = goInfo->GetLootId(); - // always activate to quest, GO may not have loot - if (goInfo->chest.questId) - { - mGameObjectForQuestSet.insert(go_entry); - ++count; - } - // find quest loot for GO - else if (LootTemplates_Gameobject.HaveQuestLootFor(loot_id)) + // always activate to quest, GO may not have loot, OR find if GO has loot for quest. + if (goInfo->chest.questId || LootTemplates_Gameobject.HaveQuestLootFor(loot_id)) { mGameObjectForQuestSet.insert(go_entry); ++count; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ec382b595..31e4138ab 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10590" + #define REVISION_NR "10591" #endif // __REVISION_NR_H__