From 42dc0a739c8b02c1f2db45e4027f0f227647f345 Mon Sep 17 00:00:00 2001 From: Gooyeth Date: Sun, 1 Apr 2018 22:02:37 -0600 Subject: [PATCH] Fix build --- src/server/game/Spells/SpellMgr.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 710730f9244..1ed01f1a4f6 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -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)); }