Skip to content

Commit

Permalink
- Duke: disabled sound limiting.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
coelckers committed Jan 9, 2022
1 parent 694f447 commit e1661e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/games/duke/src/sounds.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit e1661e0

Please sign in to comment.