possible crash fix i forgot to uncomment

This commit is contained in:
rei-2
2024-11-14 14:22:26 -05:00
parent 56e5054ad9
commit c4b6dec527
@@ -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);