diff --git a/include/omath/hud/entity_overlay.hpp b/include/omath/hud/entity_overlay.hpp index 026d2b5..a88bc4f 100644 --- a/include/omath/hud/entity_overlay.hpp +++ b/include/omath/hud/entity_overlay.hpp @@ -8,6 +8,7 @@ #include "omath/utility/color.hpp" #include #include +#include namespace omath::hud { class EntityOverlay final diff --git a/source/hud/entity_overlay.cpp b/source/hud/entity_overlay.cpp index 908c1ed..11c8875 100644 --- a/source/hud/entity_overlay.cpp +++ b/source/hud/entity_overlay.cpp @@ -90,7 +90,6 @@ namespace omath::hud void EntityOverlay::add_top_label(const Color& color, const float offset, const bool outlined, const std::string_view text) { - m_text_cursor_top.y -= ImGui::CalcTextSize(text.data()).y; if (outlined)