From 80e339f87205ac7e0d33df123585927ab4d43f85 Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Mon, 7 Feb 2005 17:23:50 +0000 Subject: solves the "dedicated mode" problem. --- src/jake2/sound/S.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/jake2') 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 { -- cgit v1.2.3