mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-23 04:42:47 +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
|
||||
do
|
||||
{
|
||||
displayplayer++;
|
||||
if (displayplayer == MAXPLAYERS)
|
||||
displayplayer = 0;
|
||||
// Wrap in both directions
|
||||
displayplayer += shiftdown ? -1 : 1;
|
||||
displayplayer = (displayplayer + MAXPLAYERS) % MAXPLAYERS;
|
||||
|
||||
if (!playeringame[displayplayer])
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue