Fix build

This commit is contained in:
Gooyeth authored and Aokromes committed 2018-04-06 07:52:52 +02:00
1 parent 395ad03cd4
commit 42dc0a739c
1 file changed
+4 -1
+4 -1
View File
@@ -2812,8 +2812,11 @@ void SpellMgr::LoadSpellInfoCustomAttributes()
// add attribute custom to liquid auras
for (LiquidTypeEntry const* liquid : sLiquidTypeStore)
if (liquid->SpellId)
if (spellInfo = _GetSpellInfo(liquid->SpellId))
{
spellInfo = _GetSpellInfo(liquid->SpellId);
if (spellInfo)
spellInfo->AttributesCu |= SPELL_ATTR0_CU_LIQUID_AURA;
}
TC_LOG_INFO("server.loading", ">> Loaded SpellInfo custom attributes in %u ms", GetMSTimeDiffToNow(oldMSTime));
}