Skip to content

Commit d72c5db

Browse files
authored
Merge pull request #4471 from Goober5000/snd_aav_fix
reset the adjusted volume when the mission closes
2 parents 20094df + a12e74f commit d72c5db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

freespace2/freespace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,7 @@ void game_level_close()
902902
lock_time_compression(false);
903903

904904
audiostream_unpause_all();
905+
snd_aav_init();
905906

906907
gr_set_ambient_light(120, 120, 120);
907908

@@ -5272,7 +5273,6 @@ void game_leave_state( int old_state, int new_state )
52725273
if ( (Game_mode & GM_MULTIPLAYER) && (new_state == GS_STATE_MAIN_MENU) ){
52735274
multi_quit_game(PROMPT_NONE);
52745275
}
5275-
snd_aav_init();
52765276

52775277
freespace_stop_mission();
52785278

0 commit comments

Comments
 (0)