From: terencehill <piuntn@gmail.com>
Date: Thu, 19 May 2011 15:37:17 +0000 (+0200)
Subject: Disable some more unused code
X-Git-Tag: xonotic-v0.5.0~232
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ddfbef31d14ed515b6922e636e0d23358701c457;p=xonotic%2Fxonotic-data.pk3dir.git

Disable some more unused code
---

diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc
index 848d069f61..025e91907e 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.