mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 20:21:38 +00:00
port over a sound init fix from oldtree that prevents a crash if sound doesn't
init properly
This commit is contained in:
parent
51aa5518ae
commit
9f476ee5c6
1 changed files with 3 additions and 0 deletions
|
@ -228,6 +228,9 @@ void S_Init (void)
|
|||
|
||||
S_Startup ();
|
||||
|
||||
if (sound_started == 0) // sound startup failed? Bail out.
|
||||
return;
|
||||
|
||||
SND_InitScaletable ();
|
||||
|
||||
known_sfx = Hunk_AllocName (MAX_SFX*sizeof(sfx_t), "sfx_t");
|
||||
|
|
Loading…
Reference in a new issue