comparison OSWindow.cpp @ 2104:9574c5bfb96f

UpdateSounds()
author Ritor1
date Wed, 18 Dec 2013 17:33:04 +0600
parents 259df09dfb50
children 49de109bbab5
comparison
equal deleted inserted replaced
2103:2318216e5206 2104:9574c5bfb96f
329 if ( pMiscTimer->bPaused ) 329 if ( pMiscTimer->bPaused )
330 dword_6BE364_game_settings_1 |= GAME_SETTINGS_0400_MISC_TIMER; 330 dword_6BE364_game_settings_1 |= GAME_SETTINGS_0400_MISC_TIMER;
331 else 331 else
332 pMiscTimer->Pause(); 332 pMiscTimer->Pause();
333 333
334 pAudioPlayer->StopChannels(-1, -1); 334 pAudioPlayer->StopChannels(-1, -1);//приостановка воспроизведения звуков при неактивном окне игры
335 if ( pAudioPlayer->hAILRedbook ) 335 if ( pAudioPlayer->hAILRedbook )
336 AIL_redbook_pause(pAudioPlayer->hAILRedbook); 336 AIL_redbook_pause(pAudioPlayer->hAILRedbook);
337 } 337 }
338 } 338 }
339 return *result = 0, true; 339 return *result = 0, true;