disable sound precache for sdl sound

This commit is contained in:
Alug committed 2025-11-30 22:31:21 +01:00
1 parent 0c050a3dff
commit a40310aafa
1 file changed
+4
+4
View File
@@ -362,6 +362,7 @@ boolean S_SoundDisabled(void)
int S_CacheSound(void)
{
#if SOUND == SOUND_MIXER
if (sound_disabled)
return SOUNDCACHE_OFF;
@@ -369,6 +370,9 @@ int S_CacheSound(void)
return SOUNDCACHE_PRECACHE;
return cv_cachesound.value;
#else
return SOUNDCACHE_OFF;
#endif
}
// Stop all sounds, load level info, THEN start sounds.