Skip to content

Commit

Permalink
fix: linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kxnrl committed Oct 9, 2024
1 parent cbfb7ef commit 14dedd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cs2_sdk/entity/ccsweaponbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ class CBasePlayerWeapon : public CEconEntity

void Disarm()
{
m_nNextPrimaryAttackTick(max(m_nNextPrimaryAttackTick(), gpGlobals->tickcount + 24));
m_nNextSecondaryAttackTick(max(m_nNextSecondaryAttackTick(), gpGlobals->tickcount + 24));
m_nNextPrimaryAttackTick(MAX(m_nNextPrimaryAttackTick(), gpGlobals->tickcount + 24));
m_nNextSecondaryAttackTick(MAX(m_nNextSecondaryAttackTick(), gpGlobals->tickcount + 24));
}
};

Expand Down

0 comments on commit 14dedd8

Please sign in to comment.