diff options
-rw-r--r-- | Alc/panning.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c index 4dcd607b..c00421c9 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -668,7 +668,7 @@ static void InitPanning(ALCdevice *device) ambiup_reset(device->AmbiUp, device); } - if(ConfigValueFloat(devname, "decoder", "nfc-ref-delay", &nfc_delay)) + if(ConfigValueFloat(devname, "decoder", "nfc-ref-delay", &nfc_delay) && nfc_delay > 0.0f) { nfc_delay = clampf(nfc_delay, 0.001f, 1000.0f); InitNearFieldCtrl(device, nfc_delay * SPEEDOFSOUNDMETRESPERSEC, |