summaryrefslogtreecommitdiff
path: root/src/cgame/cg_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_draw.c')
-rw-r--r--src/cgame/cg_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cgame/cg_draw.c b/src/cgame/cg_draw.c
index c004c3d5..0617580b 100644
--- a/src/cgame/cg_draw.c
+++ b/src/cgame/cg_draw.c
@@ -345,7 +345,7 @@ static void CG_DrawLighting( void )
VectorCopy( cent->lerpOrigin, point );
- AngleVectors( cg.predictedPlayerState.viewangles, direction, NULL, NULL );
+ AngleVectors( cg.refdefViewAngles, direction, NULL, NULL );
currentLum = CG_LightFromDirection( point, direction );
//CG_Printf( "%d\n", lum );