[ioquake3] 04/136: ...too much MISSIONPACK ifdeffery.

Simon McVittie smcv at debian.org
Thu Jun 15 09:08:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit 411d20bec6dad96b21221713920eba32c94c0a53
Author: Wolf <wolfwings at wolfwings.us>
Date:   Thu Feb 2 10:28:46 2017 -0600

    ...too much MISSIONPACK ifdeffery.
---
 code/cgame/cg_main.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/code/cgame/cg_main.c b/code/cgame/cg_main.c
index 3b1f77b..d5ecd81 100644
--- a/code/cgame/cg_main.c
+++ b/code/cgame/cg_main.c
@@ -1682,18 +1682,14 @@ static void CG_FeederSelection(float feederID, int index) {
 		cg.selectedScore = index;
 	}
 }
-#endif
 
-#ifdef MISSIONPACK
 static float CG_Cvar_Get(const char *cvar) {
 	char buff[128];
 	memset(buff, 0, sizeof(buff));
 	trap_Cvar_VariableStringBuffer(cvar, buff, sizeof(buff));
 	return atof(buff);
 }
-#endif
 
-#ifdef MISSIONPACK
 void CG_Text_PaintWithCursor(float x, float y, float scale, vec4_t color, const char *text, int cursorPos, char cursor, int limit, int style) {
 	CG_Text_Paint(x, y, scale, color, text, 0, limit, style);
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ioquake3.git



More information about the Pkg-games-commits mailing list