File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ void SetDefaultPrefs(void) {
78
78
79
79
gShockPrefs .soBackMusic = true;
80
80
gShockPrefs .soSoundFX = true;
81
- gShockPrefs .soMusicVolume = 100 ;
81
+ gShockPrefs .soMusicVolume = 75 ;
82
82
gShockPrefs .soSfxVolume = 100 ;
83
83
gShockPrefs .soAudioLogVolume = 100 ;
84
84
Original file line number Diff line number Diff line change @@ -126,7 +126,8 @@ void snd_sample_reload_parms(snd_digi_parms *sdp) {
126
126
127
127
void MacTuneUpdateVolume (void ) {
128
128
extern uchar curr_vol_lev ;
129
- Mix_VolumeMusic ((curr_vol_lev * curr_vol_lev ) * 128 / 10000 );
129
+ float music_vol_mod = 0.6f ;
130
+ Mix_VolumeMusic (((curr_vol_lev * curr_vol_lev ) * 128 / 10000 ) * music_vol_mod );
130
131
}
131
132
132
133
int MacTuneLoadTheme (char * theme_base , int themeID ) {
@@ -153,7 +154,7 @@ int MacTuneLoadTheme(char* theme_base, int themeID) {
153
154
}
154
155
155
156
void MacTuneKillCurrentTheme (void ) {
156
- Mix_FadeOutMusic ( 300 );
157
+ Mix_HaltMusic ( );
157
158
}
158
159
159
160
#else
You can’t perform that action at this time.
0 commit comments