- Duke: disabled sound limiting.

This does not work with how the game uses sounds. Unlike Doom the sound engine in DOS Duke has no channel limit so any sound can play as many times as the game deems fit.
This commit is contained in:
Christoph Oelckers 2022-01-09 15:18:35 +01:00
parent 694f44774f
commit e1661e0de1

View file

@ -233,7 +233,7 @@ int S_DefineSound(unsigned index, const char *filename, int minpitch, int maxpit
sndinf[kVolAdjust] = clamp<int>(distance, INT16_MIN, INT16_MAX);
sndinf[kWorldTourMapping] = 0;
sfx->Volume = volume;
sfx->NearLimit = 6;
sfx->NearLimit = 0;
sfx->bTentative = false;
sfx->name = std::move(fn);
return 0;