* Updates the music volume. * @param action Pointer to an action. */
| 221 | * @param action Pointer to an action. |
| 222 | */ |
| 223 | void OptionsAudioState::slrMusicVolumeChange(Action *) |
| 224 | { |
| 225 | Options::musicVolume = _slrMusicVolume->getValue(); |
| 226 | _game->setVolume(Options::soundVolume, Options::musicVolume, Options::uiVolume); |
| 227 | } |
| 228 | |
| 229 | /** |
| 230 | * Updates the sound volume with the slider. |