aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-02-07 17:49:26 +0000
committerCarsten Weisse <[email protected]>2005-02-07 17:49:26 +0000
commit78e0e59b0d59294c902b633cd6287e6621593595 (patch)
tree099e4a83c23626528ce54a191b54088f3d318695
parent0d8dc119e91fd4da0fc6e10b11dc11be8447bcc6 (diff)
use DummyRenderer for dedicated mode and use a valid instance for cl_timedemo
-rw-r--r--src/jake2/Globals.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/jake2/Globals.java b/src/jake2/Globals.java
index c0530a4..a34b5f0 100644
--- a/src/jake2/Globals.java
+++ b/src/jake2/Globals.java
@@ -2,7 +2,7 @@
* Globals.java
* Copyright (C) 2003
*
- * $Id: Globals.java,v 1.4 2004-08-18 20:27:36 hzi Exp $
+ * $Id: Globals.java,v 1.5 2005-02-07 17:49:26 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -29,6 +29,7 @@ import jake2.client.*;
import jake2.game.*;
import jake2.qcommon.netadr_t;
import jake2.qcommon.sizebuf_t;
+import jake2.render.DummyRenderer;
import jake2.render.model_t;
import java.io.FileWriter;
@@ -79,7 +80,7 @@ public class Globals extends Defines {
public static cvar_t cl_sidespeed;
public static cvar_t cl_stereo;
public static cvar_t cl_stereo_separation;
- public static cvar_t cl_timedemo;
+ public static cvar_t cl_timedemo = new cvar_t();
public static cvar_t cl_timeout;
public static cvar_t cl_upspeed;
public static cvar_t cl_yawspeed;
@@ -353,7 +354,7 @@ public class Globals extends Defines {
public static cvar_t con_notifytime;
public static viddef_t viddef = new viddef_t();
// Renderer interface used by VID, SCR, ...
- public static refexport_t re = null;
+ public static refexport_t re = new DummyRenderer();
public static String[] keybindings = new String[256];
public static boolean[] keydown = new boolean[256];