mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
Fix build
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user