Fix a crash when entering water with s_openal = 0

This commit is contained in:
Yamagi Burmeister 2012-06-14 12:24:29 +02:00
parent 9ec98a79d2
commit 61b10f12da

View file

@ -429,6 +429,11 @@ void AL_Overwater()
{
int i;
if (sound_started != SS_OAL)
{
return;
}
// Apply to all sources
for (i = 0; i < s_numchannels; i++)
{