From: DeaDDooMER Date: Thu, 29 Dec 2022 01:24:25 +0000 (+0300) Subject: gl: fix indicators X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=a2a24f8302a12dbc95954546c2f401f3566562c0;p=d2df-sdl.git gl: fix indicators --- diff --git a/src/game/renders/opengl/r_map.pas b/src/game/renders/opengl/r_map.pas index 1d9a0f3..86a69a1 100644 --- a/src/game/renders/opengl/r_map.pas +++ b/src/game/renders/opengl/r_map.pas @@ -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