FOV circle for FOV < 1

This commit is contained in:
nullifiedcat 2017-07-21 18:26:24 +03:00
parent f568229848
commit a935c9a1b4

View File

@ -970,7 +970,7 @@ void DrawText() {
// Broken from kathook merge, TODO needs to be adapted for imgui
if (fov_draw) {
// It cant use fovs greater than 180, so we check for that
if (fov && float(fov) < 180) {
if (float(fov) > 0.0f && float(fov) < 180) {
// Dont show ring while player is dead
if (LOCAL_E->m_bAlivePlayer) {
rgba_t color = GUIColor();