Skip to content

Commit

Permalink
Merge pull request #850 from LoboEire/master
Browse files Browse the repository at this point in the history
Stopped looping SFX still playing on intermission screen
  • Loading branch information
dashodanger authored Jan 18, 2025
2 parents 45ba4d8 + ae12864 commit 44dbebd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ Bugs fixed
- PNG textures/flats did not tile
- MLOOK_TURN() and MLOOK_FACE() thing.ddf actions were exactly the same. Now MLOOK_TURN() affects horizontal and MLOOK_FACE() affects vertical.
- Changed FACE() thing.ddf action to behave like it's horizontal equivalent TURN().

- Stopped looping SFX still playing on intermission screen

7 changes: 7 additions & 0 deletions source_files/edge/f_interm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2055,6 +2055,13 @@ void IntermissionStart(void)
break;
}
}

// Lobo 2025: if we have a camera set up we probably don't mind still hearing level sfx, otherwise nuke 'em ;)
if (!background_camera_map_object)
{
StopLevelSoundEffects();
DestroyAllAmbientSounds();
}
}

//--- editor settings ---
Expand Down

0 comments on commit 44dbebd

Please sign in to comment.