aboutsummaryrefslogtreecommitdiff
path: root/src/game/LootMgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/LootMgr.cpp')
-rw-r--r--src/game/LootMgr.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/game/LootMgr.cpp b/src/game/LootMgr.cpp
index 5654f540da1..adba36fd301 100644
--- a/src/game/LootMgr.cpp
+++ b/src/game/LootMgr.cpp
@@ -1323,10 +1323,12 @@ void LoadLootTemplates_Spell()
if(!ids_set.count(spell_id))
{
- // not report about not trainable spells (optionally supported by DB) except with SPELL_ATTR_EX2_UNK14 (clams)
- // 61756 (Northrend Inscription Research (FAST QA VERSION) for example
- if ((spellInfo->Attributes & SPELL_ATTR_UNK5) || (spellInfo->AttributesEx2 & SPELL_ATTR_EX2_UNK14))
- LootTemplates_Spell.ReportNotExistedId(spell_id);
+ // not report about not trainable spells (optionally supported by DB)
+ // ignore 61756 (Northrend Inscription Research (FAST QA VERSION) for example
+ if (!(spellInfo->Attributes & SPELL_ATTR_NOT_SHAPESHIFT) || (spellInfo->Attributes & SPELL_ATTR_UNK5))
+ {
+ LootTemplates_Spell.ReportNotExistedId(spell_id);
+ }
}
else
ids_set.erase(spell_id);