Core/GridNotifiers: Fixed a warning from Coverity

This commit is contained in:
Sebastian Valle Herrera committed 2014-07-21 12:55:36 -05:00
1 parent 946ab3e8b7
commit e223bbab6d
1 file changed
+1 -1
@@ -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);
}