mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Remove a "cheap fix" from multivoc that is no longer needed and should never have been needed in the first place
git-svn-id: https://svn.eduke32.com/eduke32@7360 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7414f29348
commit
c757725e65
1 changed files with 1 additions and 3 deletions
|
@ -137,9 +137,7 @@ const char *MV_ErrorString(int32_t ErrorNumber)
|
||||||
|
|
||||||
static bool MV_Mix(VoiceNode *voice, int const buffer)
|
static bool MV_Mix(VoiceNode *voice, int const buffer)
|
||||||
{
|
{
|
||||||
/* cheap fix for a crash under 64-bit linux */
|
if (voice->length == 0 && voice->GetSound(voice) != KeepPlaying)
|
||||||
/* v v v v */
|
|
||||||
if (voice->length == 0 && (voice->GetSound == NULL || voice->GetSound(voice) != KeepPlaying))
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
int32_t length = MV_MIXBUFFERSIZE;
|
int32_t length = MV_MIXBUFFERSIZE;
|
||||||
|
|
Loading…
Reference in a new issue