Fixed spells with EffectCreateItem2 that do not have EffectItemType set in dbc and should pick it from spell_loot_template table (like 69412 Abyssal Shatter)

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-06-16 20:10:42 +02:00
parent d65690ad38
commit d976299dc3

View File

@@ -3138,7 +3138,9 @@ void Spell::EffectCreateItem2(uint32 i)
// create some random items
player->AutoStoreLoot(m_spellInfo->Id, LootTemplates_Spell);
}
}
else
player->AutoStoreLoot(m_spellInfo->Id, LootTemplates_Spell); // create some random items
}
}