mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 04:12:39 +00:00
Do not move during spectating by turning controller/hmd
This commit is contained in:
parent
8839768f26
commit
dc7c01667d
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ static int CG_CalcViewValues( ) {
|
||||||
|
|
||||||
// intermission view
|
// intermission view
|
||||||
static float hmdYaw = 0;
|
static float hmdYaw = 0;
|
||||||
if ( ps->pm_type == PM_INTERMISSION ) {
|
if ( (ps->pm_type == PM_INTERMISSION || ps->pm_type == PM_SPECTATOR) && !vr->virtual_screen ) {
|
||||||
VectorCopy( ps->origin, cg.refdef.vieworg );
|
VectorCopy( ps->origin, cg.refdef.vieworg );
|
||||||
|
|
||||||
static vec3_t mins = { -1, -1, -1 };
|
static vec3_t mins = { -1, -1, -1 };
|
||||||
|
|
Loading…
Reference in a new issue