summaryrefslogtreecommitdiff
path: root/src/heretic
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/heretic
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/heretic')
-rw-r--r--src/heretic/d_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/heretic/d_net.c b/src/heretic/d_net.c
index 73e9d996..440944eb 100644
--- a/src/heretic/d_net.c
+++ b/src/heretic/d_net.c
@@ -83,7 +83,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]);
}