mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-17 01:21:18 +00:00
Enable reverse-iterating through viewpoints with shift+F12
This commit is contained in:
parent
aba5b953b2
commit
d34d90b78b
1 changed files with 3 additions and 3 deletions
|
@ -1978,9 +1978,9 @@ static boolean ViewpointSwitchResponder(event_t *ev)
|
||||||
// spy mode
|
// spy mode
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
displayplayer++;
|
// Wrap in both directions
|
||||||
if (displayplayer == MAXPLAYERS)
|
displayplayer += shiftdown ? -1 : 1;
|
||||||
displayplayer = 0;
|
displayplayer = (displayplayer + MAXPLAYERS) % MAXPLAYERS;
|
||||||
|
|
||||||
if (!playeringame[displayplayer])
|
if (!playeringame[displayplayer])
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue