X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=7ec7446a70f767802e4cfd2c7ee51ecc72948443;hb=c6bdf2fa014d0a3dd50260a409704e487e73e572;hp=c78a3420b3563908b39400bd958f299dbd429889;hpb=9f7cd608c28ded86b2c2e649c776220ae27df038;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index c78a3420..7ec7446a 100644 --- a/src/init.c +++ b/src/init.c @@ -1640,7 +1640,7 @@ static void set_sound_parameters(int sound, char **parameter_raw) 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]; + sound_info[sound].priority = parameter[SND_ARG_PRIORITY]; } static void InitSoundInfo()