From a91673216db291e1e981de85bd01b7a4049eb4b7 Mon Sep 17 00:00:00 2001 From: Orange Date: Mon, 16 Mar 2026 02:10:05 +0300 Subject: [PATCH] added const --- include/omath/hud/entity_overlay.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/omath/hud/entity_overlay.hpp b/include/omath/hud/entity_overlay.hpp index ef5492c..2bfb873 100644 --- a/include/omath/hud/entity_overlay.hpp +++ b/include/omath/hud/entity_overlay.hpp @@ -71,7 +71,7 @@ namespace omath::hud const std::string_view& text); template - EntityOverlay& add_right_label(const Color& color, float offset, bool outlined, std::format_string fmt, + EntityOverlay& add_right_label(const Color& color, const float offset, const bool outlined, std::format_string fmt, Args&&... args) { return add_right_label(color, offset, outlined, @@ -79,7 +79,7 @@ namespace omath::hud } template - EntityOverlay& add_left_label(const Color& color, float offset, bool outlined, std::format_string fmt, + EntityOverlay& add_left_label(const Color& color, const float offset, const bool outlined, std::format_string fmt, Args&&... args) { return add_left_label(color, offset, outlined, @@ -87,7 +87,7 @@ namespace omath::hud } template - EntityOverlay& add_top_label(const Color& color, float offset, bool outlined, std::format_string fmt, + EntityOverlay& add_top_label(const Color& color, const float offset, const bool outlined, std::format_string fmt, Args&&... args) { return add_top_label(color, offset, outlined, @@ -95,7 +95,7 @@ namespace omath::hud } template - EntityOverlay& add_bottom_label(const Color& color, float offset, bool outlined, + EntityOverlay& add_bottom_label(const Color& color, const float offset, const bool outlined, std::format_string fmt, Args&&... args) { return add_bottom_label(color, offset, outlined, @@ -103,7 +103,7 @@ namespace omath::hud } template - EntityOverlay& add_centered_top_label(const Color& color, float offset, bool outlined, + EntityOverlay& add_centered_top_label(const Color& color, const float offset, const bool outlined, std::format_string fmt, Args&&... args) { return add_centered_top_label(color, offset, outlined, @@ -111,7 +111,7 @@ namespace omath::hud } template - EntityOverlay& add_centered_bottom_label(const Color& color, float offset, bool outlined, + EntityOverlay& add_centered_bottom_label(const Color& color, const float offset, const bool outlined, std::format_string fmt, Args&&... args) { return add_centered_bottom_label(color, offset, outlined,