ref: 55a39ccab15bfb8082149f9aec2d1273211c1605
parent: c2212ba5c1752048418c1c3bc2d0acc0d040a8e4
author: Simon Howard <[email protected]>
date: Sat Oct 15 09:49:41 EDT 2011
Fix desyncs when playing back multiplayer demos. Subversion-branch: /branches/v2-branch Subversion-revision: 2428
--- a/src/doom/d_net.c
+++ b/src/doom/d_net.c
@@ -82,7 +82,7 @@
for (i = 0; i < MAXPLAYERS; ++i)
{
- if (playeringame[i] && !ingame[i])
+ if (!demoplayback && playeringame[i] && !ingame[i])
{
PlayerQuitGame(&players[i]);
}
--- a/src/heretic/d_net.c
+++ b/src/heretic/d_net.c
@@ -83,7 +83,7 @@
for (i = 0; i < MAXPLAYERS; ++i)
{
- if (playeringame[i] && !ingame[i])
+ if (!demoplayback && playeringame[i] && !ingame[i])
{
PlayerQuitGame(&players[i]);
}
--- a/src/hexen/d_net.c
+++ b/src/hexen/d_net.c
@@ -83,7 +83,7 @@
for (i = 0; i < MAXPLAYERS; ++i)
{
- if (playeringame[i] && !ingame[i])
+ if (!demoplayback && playeringame[i] && !ingame[i])
{
PlayerQuitGame(&players[i]);
}
--- a/src/strife/d_net.c
+++ b/src/strife/d_net.c
@@ -82,7 +82,7 @@
for (i = 0; i < MAXPLAYERS; ++i)
{
- if (playeringame[i] && !ingame[i])
+ if (!demoplayback && playeringame[i] && !ingame[i])
{
PlayerQuitGame(&players[i]);
}