Fix MSS crash

This commit is contained in:
Sergeanur
2021-09-21 08:40:08 +03:00
parent 2e580cf9b7
commit 6f553a154b
+3
View File
@@ -2025,6 +2025,9 @@ cSampleManager::SetChannelPan(uint32 nChannel, uint32 nPan)
void
cSampleManager::SetChannelFrequency(uint32 nChannel, uint32 nFreq)
{
#ifdef FIX_BUGS
if (nFreq == 0) nFreq = 1;
#endif
#ifdef EXTERNAL_3D_SOUND
bool8 b2d = FALSE;