Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Dedicated Server: No need to calculate reverb parameters
A dedicated server is playing no audio.
  • Loading branch information
skyjake committed Apr 20, 2012
1 parent b120c14 commit b1266f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/s_environ.c
Expand Up @@ -267,7 +267,7 @@ static boolean calcBspLeafReverb(BspLeaf* bspLeaf)
float total = 0;
uint i, v;

if(!bspLeaf->sector)
if(!bspLeaf->sector || isDedicated)
{
bspLeaf->reverb[SRD_SPACE] = bspLeaf->reverb[SRD_VOLUME] =
bspLeaf->reverb[SRD_DECAY] = bspLeaf->reverb[SRD_DAMPING] = 0;
Expand Down

0 comments on commit b1266f8

Please sign in to comment.