mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- fixed: timidity_mastervolume didn't notify the song if the volume had to be clamped.
SVN r792 (trunk)
This commit is contained in:
parent
1e418576da
commit
9b6d764512
2 changed files with 3 additions and 1 deletions
|
@ -503,4 +503,6 @@ CCMD(testmusicvol)
|
|||
relative_volume = (float)strtod(argv[1], NULL);
|
||||
snd_musicvolume.Callback();
|
||||
}
|
||||
else
|
||||
Printf("Current relative volume is %1.2f\n", relative_volume);
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ CUSTOM_CVAR (Float, timidity_mastervolume, 1.0f, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
|||
self = 0.f;
|
||||
else if (self > 4.f)
|
||||
self = 4.f;
|
||||
else if (currSong != NULL)
|
||||
if (currSong != NULL)
|
||||
currSong->TimidityVolumeChanged();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue