mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-06 06:30:33 -04:00
options->speed up battles, game speed, #1 fix volume
This commit is contained in:
parent
3cc7c14064
commit
54247b5720
8 changed files with 42 additions and 17 deletions
|
@ -299,7 +299,8 @@ static void update_music_volume(){
|
|||
float v = music_volume * master_volume;
|
||||
for (int i = 0; i <2; i++)
|
||||
sound_mixer.visit_track(music_track_id_base+i,[&](WaveMixer<2> &m){
|
||||
m.set_channel_volume(v, v);
|
||||
m.set_channel_volume(0, v);
|
||||
m.set_channel_volume(1, v);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue