From e79dc648ebec935b07f703f62edc1859dd23c480 Mon Sep 17 00:00:00 2001 From: Makevelli Date: Fri, 1 Mar 2024 02:12:50 +0200 Subject: [PATCH] test mingw build --- src/hud_elements.cpp | 2 ++ src/overlay_params.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hud_elements.cpp b/src/hud_elements.cpp index bcbf0d6bcd7..08d75614ea6 100644 --- a/src/hud_elements.cpp +++ b/src/hud_elements.cpp @@ -1205,6 +1205,7 @@ void HudElements::device_battery() void HudElements::liquid_stats() { +#ifndef _WIN32 if (HUDElements.params->enabled[OVERLAY_PARAM_ENABLED_liquid]) { std::vector devices = liquidStats.GetDevicesData(); @@ -1273,6 +1274,7 @@ void HudElements::liquid_stats() } } } +#endif } void HudElements::frame_count(){ diff --git a/src/overlay_params.cpp b/src/overlay_params.cpp index 4a05d96d7ca..a66f09944bc 100644 --- a/src/overlay_params.cpp +++ b/src/overlay_params.cpp @@ -719,7 +719,7 @@ static void set_param_defaults(struct overlay_params *params){ params->fps_color = { 0xb22222, 0xfdfd09, 0x39f900 }; params->fps_value = { 30, 60 }; params->round_corners = 0; - params->battery_color =0xff9078; + params->battery_color = 0xff9078; params->fsr_steam_sharpness = -1; params->picmip = -17; params->af = -1; @@ -727,7 +727,7 @@ static void set_param_defaults(struct overlay_params *params){ params->table_columns = 3; params->text_outline_color = 0x000000; params->text_outline_thickness = 1.5; - params->liquid_color=0x3fcbd4; + params->liquid_color = 0x3fcbd4; params->liquid_text = "Liquid"; }