diff options
| author | Gooyeth <Gooyeth@users.noreply.github.com> | 2018-04-01 22:02:37 -0600 |
|---|---|---|
| committer | Ariel Silva <ariel-@users.noreply.github.com> | 2018-04-03 00:36:02 -0300 |
| commit | 59c94b3a7dab2513eb157cdc004f603a859f322a (patch) | |
| tree | cc955bb3d325057c7b854a09a8d05f2645110812 /src | |
| parent | 8001c5ead1aa27671aea20336c7eb2194b89d8ac (diff) | |
Fix build
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 01567385bd3..0e4cba36654 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -2949,8 +2949,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)); } |
