- Added two new net commands: DEM_WIPEON and DEM_WIPEOFF. They keep track of
when a player is going through a screen wipe and act like a pause, so the game doesn't run several tics afterward to catch up with it. SVN r485 (trunk)
This commit is contained in:
parent
01cd91fd9e
commit
ecc45d5d6e
8 changed files with 34 additions and 11 deletions
|
|
@ -125,6 +125,7 @@ bool netgame; // only true if packets are broadcast
|
|||
bool multiplayer;
|
||||
player_t players[MAXPLAYERS];
|
||||
bool playeringame[MAXPLAYERS];
|
||||
DWORD playerswiping;
|
||||
|
||||
int consoleplayer; // player taking events
|
||||
int gametic;
|
||||
|
|
@ -2116,7 +2117,10 @@ void G_ReadDemoTiccmd (ticcmd_t *cmd, int player)
|
|||
{
|
||||
BYTE i = ReadByte (&demo_p);
|
||||
if (i < MAXPLAYERS)
|
||||
{
|
||||
playeringame[i] = false;
|
||||
playerswiping &= ~(1 << i);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue