diff options
author | Shauren <none@none> | 2010-06-16 20:10:42 +0200 |
---|---|---|
committer | Shauren <none@none> | 2010-06-16 20:10:42 +0200 |
commit | d976299dc3baf9ecab7ce45fae32c31e997533ba (patch) | |
tree | 21dae270857ba9cde4120b78fdfbf8b03137ae28 /src | |
parent | d65690ad382754ba09eee2c6711829cdcc29e9a6 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/Auras/SpellEffects.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/game/Spells/Auras/SpellEffects.cpp b/src/server/game/Spells/Auras/SpellEffects.cpp index ef046531f10..4fa56f80893 100644 --- a/src/server/game/Spells/Auras/SpellEffects.cpp +++ b/src/server/game/Spells/Auras/SpellEffects.cpp @@ -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 } } |