mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- spycancel improvement by Edward-san.
This commit is contained in:
parent
94a3d92f93
commit
4189092db8
1 changed files with 4 additions and 4 deletions
|
@ -859,10 +859,10 @@ static void ChangeSpy (int changespy)
|
|||
|
||||
// Otherwise, cycle to the next player.
|
||||
bool checkTeam = !demoplayback && deathmatch;
|
||||
int pnum = int(players[consoleplayer].camera->player - players);
|
||||
if (changespy == SPY_CANCEL) {
|
||||
pnum = consoleplayer;
|
||||
} else {
|
||||
int pnum = consoleplayer;
|
||||
if (changespy != SPY_CANCEL)
|
||||
{
|
||||
pnum = int(players[consoleplayer].camera->player - players);
|
||||
int step = (changespy == SPY_NEXT) ? 1 : -1;
|
||||
|
||||
do
|
||||
|
|
Loading…
Reference in a new issue