We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b4abf6 + 6862921 commit 777e6e4Copy full SHA for 777e6e4
Client/game_sa/CAudioEngineSA.cpp
@@ -425,14 +425,14 @@ static void __declspec(naked) HOOK_CAEAmbienceTrackManager_CheckForPause()
425
426
__asm
427
{
428
- push esi
+ pushad
429
call IsAmbientSoundGeneralEnabled
430
test al, al
431
+ popad
432
jnz continueWithOriginalCode
433
mov dword ptr [esp+8], 0 // Pause by setting 0.0f for the last argument to CAEAudioHardware::SetChannelFrequencyScalingFactor
434
435
continueWithOriginalCode:
- pop esi
436
mov edi, [esp+8]
437
xor ecx, ecx
438
jmp RETURN_CAEAmbienceTrackManager_CheckForPause
0 commit comments