From b2575d7b955a33692191e15a5da25dea1d926ecb Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Mon, 7 Feb 2005 22:14:38 +0000 Subject: test for dedicated mode (see C-code) --- src/jake2/client/CL.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/jake2') diff --git a/src/jake2/client/CL.java b/src/jake2/client/CL.java index 777230a..b43e1af 100644 --- a/src/jake2/client/CL.java +++ b/src/jake2/client/CL.java @@ -2,7 +2,7 @@ * CL.java * Copyright (C) 2004 * - * $Id: CL.java,v 1.18 2005-02-06 19:24:31 salomo Exp $ + * $Id: CL.java,v 1.19 2005-02-07 22:14:38 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -1512,6 +1512,9 @@ public final class CL { // private static int lasttimecalled; public static void Frame(int msec) { + + if (Globals.dedicated.value != 0) + return; extratime += msec; -- cgit v1.2.3