diff --git a/src/server/game/Grids/Notifiers/GridNotifiers.h b/src/server/game/Grids/Notifiers/GridNotifiers.h index fe10d8183ec..e9ba95f8fb6 100644 --- a/src/server/game/Grids/Notifiers/GridNotifiers.h +++ b/src/server/game/Grids/Notifiers/GridNotifiers.h @@ -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); }