Skip to content

Commit

Permalink
[rtx] fix impact mark position when playershadow is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxor4d committed May 17, 2024
1 parent ea860ff commit 16e987b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/modules/rtx/rtx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1256,6 +1256,7 @@ namespace components
utils::hook::nop(0x451C70, 2); // CG_CalcViewValues: always call CG_OffsetFirstPersonView
utils::hook::set<BYTE>(0x451C9E, 0xEB); // CG_CalcViewValues: do not call CG_OffsetThirdPersonView
utils::hook::set<BYTE>(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"

Expand Down

0 comments on commit 16e987b

Please sign in to comment.