Core/GridNotifiers: Fixed a warning from Coverity

This commit is contained in:
Sebastian Valle Herrera
2014-07-21 12:55:36 -05:00
parent 946ab3e8b7
commit e223bbab6d

View File

@@ -620,7 +620,7 @@ namespace Trinity
if (go->GetGOInfo()->spellFocus.focusId != i_focusId)
return false;
float dist = (float)((go->GetGOInfo()->spellFocus.dist)/2);
float dist = go->GetGOInfo()->spellFocus.dist / 2.f;
return go->IsWithinDistInMap(i_unit, dist);
}