summaryrefslogtreecommitdiff
path: root/src/strife/d_net.c
diff options
context:
space:
mode:
authorSimon Howard2011-10-15 13:49:41 +0000
committerSimon Howard2011-10-15 13:49:41 +0000
commit55a39ccab15bfb8082149f9aec2d1273211c1605 (patch)
tree6e49db2658e7db4c335c366094e5d345a9e27354 /src/strife/d_net.c
parentc2212ba5c1752048418c1c3bc2d0acc0d040a8e4 (diff)
downloadchocolate-doom-55a39ccab15bfb8082149f9aec2d1273211c1605.tar.gz
chocolate-doom-55a39ccab15bfb8082149f9aec2d1273211c1605.tar.bz2
chocolate-doom-55a39ccab15bfb8082149f9aec2d1273211c1605.zip
Fix desyncs when playing back multiplayer demos.
Subversion-branch: /branches/v2-branch Subversion-revision: 2428
Diffstat (limited to 'src/strife/d_net.c')
-rw-r--r--src/strife/d_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strife/d_net.c b/src/strife/d_net.c
index 8062ee72..0f3b3d75 100644
--- a/src/strife/d_net.c
+++ b/src/strife/d_net.c
@@ -82,7 +82,7 @@ static void RunTic(ticcmd_t *cmds, boolean *ingame)
for (i = 0; i < MAXPLAYERS; ++i)
{
- if (playeringame[i] && !ingame[i])
+ if (!demoplayback && playeringame[i] && !ingame[i])
{
PlayerQuitGame(&players[i]);
}