mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Fix a crash when entering water with s_openal = 0
This commit is contained in:
parent
9ec98a79d2
commit
61b10f12da
1 changed files with 5 additions and 0 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue