From 2aa8ec9e37dbf5b546ee1052c25c6686262bf624 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 30 Jun 2007 14:34:03 +0000 Subject: Don't crash if there is a multiplayer demo in the demo loop. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 928 --- src/d_net.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/d_net.c b/src/d_net.c index c0243e8c..b8ecd645 100644 --- a/src/d_net.c +++ b/src/d_net.c @@ -413,11 +413,7 @@ static int GetLowTic(void) int i; int lowtic; - if (demoplayback) - { - lowtic = maketic; - } - else + if (net_client_connected) { lowtic = INT_MAX; @@ -430,6 +426,10 @@ static int GetLowTic(void) } } } + else + { + lowtic = maketic; + } return lowtic; } -- cgit v1.2.3