- Game time is now frozen during screen wipes. This obsoletes the DEM_WIPEON

and DEM_WIPEOFF commands. Fixes multimap demos desyncing when played back
  or recorded with wipes enabled, and prevents multiplayer games from
  starting until all players' wipes have finished.


SVN r1272 (trunk)
This commit is contained in:
Randy Heit 2008-10-21 02:27:21 +00:00
commit 30ef6a0c2d
11 changed files with 98 additions and 35 deletions

View file

@ -607,7 +607,6 @@ void PlayerIsGone (int netnode, int netconsole)
nodeingame[netnode] = false;
playeringame[netconsole] = false;
nodejustleft[netnode] = false;
playerswiping &= ~(1 << netconsole);
if (deathmatch)
{
@ -2316,14 +2315,6 @@ void Net_DoCommand (int type, BYTE **stream, int player)
}
break;
case DEM_WIPEON:
playerswiping |= 1 << player;
break;
case DEM_WIPEOFF:
playerswiping &= ~(1 << player);
break;
case DEM_ADDCONTROLLER:
{
BYTE playernum = ReadByte (stream);