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;