fixed regression introduced in bb57521ef1
causing the game to crash when trying to incorrectly re-init SDL_mixer for change in sample rate - which isn't needed in the first place
This commit is contained in:
parent
0c10c9db7f
commit
8534b9705b
|
@ -765,8 +765,13 @@ int read_hamfile()
|
|||
{
|
||||
shareware = 1;
|
||||
GameArg.SndDigiSampleRate = SAMPLE_RATE_11K;
|
||||
digi_close();
|
||||
digi_init();
|
||||
#ifdef USE_SDLMIXER
|
||||
if (GameArg.SndDisableSdlMixer)
|
||||
#endif
|
||||
{
|
||||
digi_close();
|
||||
digi_init();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue