X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Finit.c;h=903cd8d93274cd215bb34c85fcad961d2d3dee38;hp=175c063ac52e3c2d1bd23d26b50e6c4df77267ab;hb=7d171d862abdecced79f60535b49a686386cefe1;hpb=c5321d9d36d0a74062651d0352fbbaccbe125eca diff --git a/src/init.c b/src/init.c index 175c063a..903cd8d9 100644 --- a/src/init.c +++ b/src/init.c @@ -1299,6 +1299,12 @@ static void set_sound_parameters(int sound, char **parameter_raw) /* explicit loop mode setting in configuration overrides default value */ if (parameter[SND_ARG_MODE_LOOP] != ARG_UNDEFINED_VALUE) sound_info[sound].loop = parameter[SND_ARG_MODE_LOOP]; + + /* sound volume to change the original volume when loading the sound file */ + sound_info[sound].volume = parameter[SND_ARG_VOLUME]; + + /* sound priority to give certain sounds a higher or lower priority */ + sound_info[sound].volume = parameter[SND_ARG_VOLUME]; } static void InitSoundInfo()