Skip to content

Commit 6de45c6

Browse files
committed
Set the smoothed view org to refdef real view org in intermission
1 parent 8fc39a6 commit 6de45c6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

code/cgame/cg_view.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,8 @@ static int CG_CalcViewValues( void ) {
987987

988988
// intermission view
989989
if ( ps->pm_type == PM_INTERMISSION ) {
990-
VectorCopy( ps->origin, cg.refdef.vieworg );
990+
VectorCopy( cg.view_org, cg.refdef.vieworg );
991+
//VectorCopy( ps->origin, cg.refdef.vieworg );
991992
VectorCopy( ps->viewangles, cg.refdefViewAngles );
992993
AnglesToAxis( cg.refdefViewAngles, cg.refdef.viewaxis );
993994
return CG_CalcFov();

0 commit comments

Comments
 (0)