aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGooyeth <migmadmu@hotmail.com>2018-04-02 16:38:02 -0600
committerAriel Silva <ariel-@users.noreply.github.com>2018-04-03 00:36:02 -0300
commit2d6fa2108c65428a442baf58895af1a00ae0c5ec (patch)
treed12caeb068d5d1fb276e87d8ff36096ee0cda401 /src
parenta04e5f261c77583edf0250bf9c2716e09f7b536b (diff)
adding braces
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/SpellMgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 7642b258fb4..b3f17fe8372 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -2948,12 +2948,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));
}