summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-26 01:15:32 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:05 +0000
commit3814ae32abbb98842e2b741f0379d259629e1df7 (patch)
tree07ee7b4be208e1f9f365c0ac08ceaf44f5034510 /src/cgame
parent1b28547673bfde885214b08e506224c976b861a7 (diff)
* Don't draw crosshair during intermission
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_draw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index ab93fd00..bbeb9848 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -2385,6 +2385,9 @@ static void CG_DrawCrosshair( rectDef_t *rect, vec4_t color )
if( cg.renderingThirdPerson )
return;
+ if( cg.snap->ps.pm_type == PM_INTERMISSION )
+ return;
+
wi = &cg_weapons[ weapon ];
w = h = wi->crossHairSize * cg_crosshairSize.value;