diff --git a/SilentPatchSA/SilentPatchSA.cpp b/SilentPatchSA/SilentPatchSA.cpp index 9c2f6f6..4300962 100644 --- a/SilentPatchSA/SilentPatchSA.cpp +++ b/SilentPatchSA/SilentPatchSA.cpp @@ -409,9 +409,11 @@ void RenderWeaponPedsForPC() { RwScopedRenderState vertexAlpha(rwRENDERSTATEVERTEXALPHAENABLE); RwScopedRenderState zWrite(rwRENDERSTATEZWRITEENABLE); + RwScopedRenderState fogEnable(rwRENDERSTATEFOGENABLE); RwRenderStateSet(rwRENDERSTATEVERTEXALPHAENABLE, reinterpret_cast(TRUE)); - RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, FALSE); + RwRenderStateSet(rwRENDERSTATEZWRITEENABLE, reinterpret_cast(TRUE)); + RwRenderStateSet(rwRENDERSTATEFOGENABLE, reinterpret_cast(TRUE)); const bool renderWeapon = IgnoresWeaponPedsForPCFix();