mirror of
https://github.com/rei-2/Amalgam
synced 2026-10-10 12:53:10 +08:00
possible crash fix i forgot to uncomment
This commit is contained in:
@@ -145,7 +145,7 @@ MAKE_HOOK(S_StartSound, S::S_StartSound(), int, __fastcall,
|
||||
{
|
||||
if (!params.staticsound)
|
||||
H::Entities.ManualNetwork(params);
|
||||
if (/*params.pSfx &&*/ ShouldBlockSound(params.pSfx->getname()))
|
||||
if (params.pSfx && ShouldBlockSound(params.pSfx->getname()))
|
||||
return 0;
|
||||
|
||||
return CALL_ORIGINAL(params);
|
||||
|
||||
Reference in New Issue
Block a user