fix serviceSoundEffects an cleanup

This commit is contained in:
Roman Masanin
2020-11-02 12:05:23 +03:00
parent cebf32c46c
commit 174424c520
2 changed files with 2 additions and 13 deletions

View File

@@ -438,7 +438,6 @@ cAudioManager::IsAudioInitialised() const
void
cAudioManager::ServiceSoundEffects()
{
m_FrameCounter++;
m_bFifthFrameFlag = (m_FrameCounter++ % 5) == 0;
if (m_nUserPause && !m_nPreviousUserPause) {
for (int32 i = 0; i < allChannels; i++)