mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
'If' out a couple of instances of g_soundlocks[] manipulation I somehow missed during my first pass
git-svn-id: https://svn.eduke32.com/eduke32@7906 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9021b885d6
commit
aec48c73c1
1 changed files with 4 additions and 0 deletions
|
@ -400,7 +400,9 @@ void S_Cleanup(void)
|
|||
// for which there was no open slot to keep track of the voice
|
||||
if (num >= (MAXSOUNDS*MAXSOUNDINSTANCES))
|
||||
{
|
||||
#ifdef CACHING_DOESNT_SUCK
|
||||
--g_soundlocks[num-(MAXSOUNDS*MAXSOUNDINSTANCES)];
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -429,7 +431,9 @@ void S_Cleanup(void)
|
|||
voice.dist = UINT16_MAX;
|
||||
voice.clock = 0;
|
||||
|
||||
#ifdef CACHING_DOESNT_SUCK
|
||||
--g_soundlocks[num];
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue