DEADSOFTWARE

gl: fix indicators
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Thu, 29 Dec 2022 01:24:25 +0000 (04:24 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Fri, 9 Jun 2023 09:08:57 +0000 (12:08 +0300)
src/game/renders/opengl/r_map.pas

index 1d9a0f3caed772cdf073b79d83aa559b0c968435..86a69a11b85903f4cd83c81dee9eccef81d6c28a 100644 (file)
@@ -1491,6 +1491,9 @@ implementation
     r_Map_DrawPanelType(PANEL_FORE);
     // TODO draw monsters health bar
     // TODO draw players health bar
+
+    r_Draw_SetRect(x, y, x + w, y + h);
+
     if gGameSettings.GameMode <> GM_SINGLE then
       r_Map_DrawPlayerIndicators(player, cx, cy, cw, ch);
     if DebugCameraScale <> 1.0 then