]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sbar.c
cleaned up glDrawRangeElements limit checking a bit (now done in gl_backend.c)
[xonotic/darkplaces.git] / sbar.c
diff --git a/sbar.c b/sbar.c
index 9e1deae46a616213acd777cca6f4c30bfd50868d..f4d01ce9be2a6015f5f08932c261ff8dbcc28fd7 100644 (file)
--- a/sbar.c
+++ b/sbar.c
@@ -406,7 +406,6 @@ void Sbar_UpdateScoreboard (void)
 }
 
 
-
 /*
 ===============
 Sbar_SoloScoreboard
@@ -761,7 +760,7 @@ void Sbar_ShowFPS(void)
 Sbar_Draw
 ===============
 */
-void DrawCrosshair(int num);
+//void DrawCrosshair(int num);
 void Sbar_Draw (void)
 {
        if (scr_con_current == vid.conheight)
@@ -870,8 +869,8 @@ void Sbar_Draw (void)
        if (vid.conwidth > 320 && cl.gametype == GAME_DEATHMATCH)
                Sbar_MiniDeathmatchOverlay ();
 
-       if (crosshair.integer >= 1)
-               DrawCrosshair(crosshair.integer - 1);
+//     if (crosshair.integer >= 1)
+//             DrawCrosshair(crosshair.integer - 1);
 
        if (cl.intermission == 1)
                Sbar_IntermissionOverlay();
@@ -1061,3 +1060,4 @@ void Sbar_FinaleOverlay (void)
        pic = Draw_CachePic ("gfx/finale.lmp");
        DrawQ_Pic((vid.conwidth - pic->width)/2, 16, "gfx/finale.lmp", 0, 0, 1, 1, 1, 1, 0);
 }
+