Skip to content

Commit

Permalink
Update Client/game_sa/CGameSA.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
botder authored Jan 3, 2025
1 parent 1cb23f7 commit 16a4020
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Client/game_sa/CGameSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,9 @@ CWeaponStat* CGameSA::CreateWeaponStat(eWeaponType weaponType, eWeaponSkill weap

void CGameSA::SetWeaponRenderEnabled(bool enabled)
{
if (IsWeaponRenderEnabled() == enabled)
return;

if (!enabled)
{
// Disable calls to CVisibilityPlugins::RenderWeaponPedsForPC
Expand Down

0 comments on commit 16a4020

Please sign in to comment.