mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-15 14:40:05 +01:00
adding braces
This commit is contained in:
@@ -2811,12 +2811,14 @@ void SpellMgr::LoadSpellInfoCustomAttributes()
|
||||
|
||||
// add custom attribute to liquid auras
|
||||
for (LiquidTypeEntry const* liquid : sLiquidTypeStore)
|
||||
{
|
||||
if (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