DEADSOFTWARE

gl: fix indicators
authorDeaDDooMER <deaddoomer@deadsoftware.ru>
Tue, 14 Feb 2023 12:55:38 +0000 (15:55 +0300)
committerDeaDDooMER <deaddoomer@deadsoftware.ru>
Fri, 9 Jun 2023 09:13:11 +0000 (12:13 +0300)
src/game/renders/opengl/r_map.pas

index 49ea34c0d53bf4cf2abe1ab84727745ee3288c82..326fcd0e4317b77693e6174d74fbfb2e4cf58fb2 100644 (file)
@@ -1535,7 +1535,10 @@ implementation
     end;
 
     if gGameSettings.GameMode <> GM_SINGLE then
+    begin
+      glTranslatef(-cx, -cy, 0);
       r_Map_DrawPlayerIndicators(player, cx, cy, cw, ch);
+    end;
 
     // TODO draw g_debug_player