From: cloudwalk Date: Mon, 20 Jul 2020 17:35:01 +0000 (+0000) Subject: host: Check !host.restless instead of !cls.demoplayback for rand() call X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fadb17997b4ecd79eacb1c4741b62445581823e1;p=xonotic%2Fdarkplaces.git host: Check !host.restless instead of !cls.demoplayback for rand() call git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12851 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/host.c b/host.c index dd48b2f0..afa18ec2 100644 --- a/host.c +++ b/host.c @@ -389,7 +389,7 @@ double Host_Frame(double time) TaskQueue_Frame(false); // keep the random time dependent, but not when playing demos/benchmarking - if(!*sv_random_seed.string && !cls.demoplayback) + if(!*sv_random_seed.string && !host.restless) rand(); NetConn_UpdateSockets();