diff options
author | Carsten Weisse <[email protected]> | 2005-02-07 17:23:50 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2005-02-07 17:23:50 +0000 |
commit | 80e339f87205ac7e0d33df123585927ab4d43f85 (patch) | |
tree | 895cb5f51d4fc47350d98e80701cb188647de322 /src/jake2 | |
parent | c00518e0cc46d0dacf1aa46866ead1f3e0f83389 (diff) |
solves the "dedicated mode" problem.
Diffstat (limited to 'src/jake2')
-rw-r--r-- | src/jake2/sound/S.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/jake2/sound/S.java b/src/jake2/sound/S.java index 1508d42..8295c8b 100644 --- a/src/jake2/sound/S.java +++ b/src/jake2/sound/S.java @@ -2,7 +2,7 @@ * S.java * Copyright (C) 2003 * - * $Id: S.java,v 1.9 2005-02-06 19:19:03 salomo Exp $ + * $Id: S.java,v 1.10 2005-02-07 17:23:50 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -46,9 +46,11 @@ public class S { // dummy driver (no sound) try { Class.forName("jake2.sound.DummyDriver"); + // initialize impl with the default value + // this is necessary for dedicated mode + useDriver("dummy"); } catch (Throwable e) { Com.DPrintf("could not init dummy sound driver class."); - // ignore the lwjgl driver if runtime not in classpath } try { |