mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix moving while viewing another player not resetting the viewpoint
This commit is contained in:
parent
e593b5297a
commit
7961ac9d95
1 changed files with 2 additions and 2 deletions
|
|
@ -1596,8 +1596,8 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
|
||||||
|
|
||||||
//Reset away view if a command is given.
|
//Reset away view if a command is given.
|
||||||
if ((cmd->forwardmove || cmd->sidemove || cmd->buttons)
|
if ((cmd->forwardmove || cmd->sidemove || cmd->buttons)
|
||||||
&& g_localplayers[0] != consoleplayer && ssplayer == 1)
|
&& ! r_splitscreen && displayplayers[0] != consoleplayer && ssplayer == 1)
|
||||||
g_localplayers[0] = consoleplayer;
|
displayplayers[0] = consoleplayer;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue