From ddfbef31d14ed515b6922e636e0d23358701c457 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 19 May 2011 17:37:17 +0200 Subject: [PATCH] Disable some more unused code --- qcsrc/client/hud.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 848d069f6..025e91907 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -204,17 +204,20 @@ void centerprint(string strMessage) centerprint_width[i] = stringwidth(s, TRUE, centerprint_fontsize); ++i; +#if 0 // half height for empty lines looks better if(s == "") hcount += 0.5; else hcount += 1; +#endif if(i >= CENTERPRINT_MAX_LINES) break; } } +#if 0 float h, havail; h = centerprint_fontsize_y*hcount; @@ -224,7 +227,6 @@ void centerprint(string strMessage) if(havail > vid_conheight - 70) havail = vid_conheight - 70; // avoid overlapping HUD -#if 0 float forbiddenmin, forbiddenmax, allowedmin, allowedmax, preferred; // here, the centerprint would cover the crosshair. REALLY BAD. -- 2.39.2