port over a sound init fix from oldtree that prevents a crash if sound doesn't

init properly
This commit is contained in:
Bill Currie 2000-09-07 17:34:46 +00:00
parent 16101a8d0b
commit 4b393f7310

View file

@ -225,6 +225,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");