aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-02-13 17:12:55 +0000
committerCarsten Weisse <[email protected]>2005-02-13 17:12:55 +0000
commitfcc948b1c78b2ce6b0f3b57cbe4e7bbb9abbe808 (patch)
treee91c4464a2b83b43f04beba0c1ad87fccc40ea21 /src/jake2
parentcb3daca18d606d4c79f1613b09da4d752ba2feb4 (diff)
dedicated server runs now :-)
someone has forgotten the code to check the dedicated variable. (stupid bug and hard to find)
Diffstat (limited to 'src/jake2')
-rw-r--r--src/jake2/qcommon/Qcommon.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/jake2/qcommon/Qcommon.java b/src/jake2/qcommon/Qcommon.java
index c9edb2f..f0a7764 100644
--- a/src/jake2/qcommon/Qcommon.java
+++ b/src/jake2/qcommon/Qcommon.java
@@ -2,7 +2,7 @@
* Qcommon.java
* Copyright 2003
*
- * $Id: Qcommon.java,v 1.14 2005-02-06 19:26:11 salomo Exp $
+ * $Id: Qcommon.java,v 1.15 2005-02-13 17:12:55 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -118,7 +118,11 @@ public final class Qcommon extends Globals {
// add + commands from command line
if (!Cbuf.AddLateCommands()) {
// if the user didn't give any commands, run default action
- Cbuf.AddText("d1\n");
+ if (Globals.dedicated.value == 0)
+ Cbuf.AddText ("d1\n");
+ else
+ Cbuf.AddText ("dedicated_start\n");
+
Cbuf.Execute();
} else {
// the user asked for something explicit