Skip to content

Commit 16a4020

Browse files
authored
Update Client/game_sa/CGameSA.cpp
1 parent 1cb23f7 commit 16a4020

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Client/game_sa/CGameSA.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,9 @@ CWeaponStat* CGameSA::CreateWeaponStat(eWeaponType weaponType, eWeaponSkill weap
11431143

11441144
void CGameSA::SetWeaponRenderEnabled(bool enabled)
11451145
{
1146+
if (IsWeaponRenderEnabled() == enabled)
1147+
return;
1148+
11461149
if (!enabled)
11471150
{
11481151
// Disable calls to CVisibilityPlugins::RenderWeaponPedsForPC

0 commit comments

Comments
 (0)