mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +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.
|
// Otherwise, cycle to the next player.
|
||||||
bool checkTeam = !demoplayback && deathmatch;
|
bool checkTeam = !demoplayback && deathmatch;
|
||||||
int pnum = int(players[consoleplayer].camera->player - players);
|
int pnum = consoleplayer;
|
||||||
if (changespy == SPY_CANCEL) {
|
if (changespy != SPY_CANCEL)
|
||||||
pnum = consoleplayer;
|
{
|
||||||
} else {
|
pnum = int(players[consoleplayer].camera->player - players);
|
||||||
int step = (changespy == SPY_NEXT) ? 1 : -1;
|
int step = (changespy == SPY_NEXT) ? 1 : -1;
|
||||||
|
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in a new issue