From 16e987bb16859692eac821f3117a5c1ae4593885 Mon Sep 17 00:00:00 2001 From: xoxor4d <45299104+xoxor4d@users.noreply.github.com> Date: Fri, 17 May 2024 11:46:06 +0200 Subject: [PATCH] [rtx] fix impact mark position when playershadow is enabled --- src/components/modules/rtx/rtx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/modules/rtx/rtx.cpp b/src/components/modules/rtx/rtx.cpp index e8130ac..2603304 100644 --- a/src/components/modules/rtx/rtx.cpp +++ b/src/components/modules/rtx/rtx.cpp @@ -1256,6 +1256,7 @@ namespace components utils::hook::nop(0x451C70, 2); // CG_CalcViewValues: always call CG_OffsetFirstPersonView utils::hook::set(0x451C9E, 0xEB); // CG_CalcViewValues: do not call CG_OffsetThirdPersonView utils::hook::set(0x456D36, 0xEB); // CG_AddPlayerWeapon: do not disable bolt effects + utils::hook::nop(0x45674A, 2); // DrawBulletImpacts :: calculate impact mark position accounting for gun idle sway utils::hook::nop(0x457054, 6); // CG_AddViewWeapon: do not disable viewmodel utils::hook::nop(0x451D8E, 2); // CG_UpdateThirdPerson: always enable "thirdperson"