From 2b7b9720f34fc7827ed753add327ea5f85264d69 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 3 Jan 2012 23:44:01 +0000 Subject: [PATCH] this is one way to fix that error anyway. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3953 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/snd_directx.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/engine/client/snd_directx.c b/engine/client/snd_directx.c index 3638aecf..0b318f01 100644 --- a/engine/client/snd_directx.c +++ b/engine/client/snd_directx.c @@ -703,7 +703,11 @@ int DSOUND_InitCard (soundcardinfo_t *sc, int cardnum) dsbuf.lpwfxFormat = NULL; #ifdef DSBCAPS_GLOBALFOCUS - if (snd_inactive.ival || sys_parentwindow) /*always inactive if we have a parent window, because we can't tell properly otherwise*/ + if (snd_inactive.ival +#ifdef NPQTV + || sys_parentwindow +#endif + ) /*always inactive if we have a parent window, because we can't tell properly otherwise*/ { dsbuf.dwFlags |= DSBCAPS_GLOBALFOCUS; sc->inactive_sound = true;