Fixed build

This commit is contained in:
joschiwald
2017-12-25 11:18:04 +01:00
parent 7bb6897a3c
commit b12878cb5a

View File

@@ -6075,7 +6075,7 @@ std::pair<float, float> Spell::GetMinMaxRange(bool strict)
float rangeMod = 0.0f;
float minRange = 0.0f;
float maxRange = 0.0f;
if (strict && IsNextMeleeSwingSpell())
if (strict && m_spellInfo->IsNextMeleeSwingSpell())
{
maxRange = 100.0f;
return std::pair<float, float>(minRange, maxRange);