- fixed: -nosfx deactivated the entire sound system which also made music inoperable. Changed it so that all it does is block sound effects from being started.
SVN r2621 (trunk)
This commit is contained in:
parent
5647fed0cf
commit
1dd3ecd6e2
3 changed files with 5 additions and 2 deletions
|
|
@ -827,7 +827,7 @@ static FSoundChan *S_StartSound(AActor *actor, const sector_t *sec, const FPolyO
|
|||
FVector3 pos, vel;
|
||||
FRolloffInfo *rolloff;
|
||||
|
||||
if (sound_id <= 0 || volume <= 0)
|
||||
if (sound_id <= 0 || volume <= 0 || nosfx)
|
||||
return NULL;
|
||||
|
||||
int type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue