Skip to content

Commit

Permalink
revert rename
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamTadeusz committed Sep 20, 2024
1 parent 360d75d commit 51a17df
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mp/src/game/shared/neo/weapons/weapon_knife.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void CWeaponKnife::Spawn()

void CWeaponKnife::ItemPostFrame()
{
HandleWeaponLowered();
ProcessAnimationEvents();
BaseClass::ItemPostFrame();
}

Expand Down
4 changes: 2 additions & 2 deletions mp/src/game/shared/neo/weapons/weapon_neobasecombatweapon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ void CNEOBaseCombatWeapon::ItemPreFrame(void)
}

// Handles lowering the weapon view model when character is sprinting
void CNEOBaseCombatWeapon::HandleWeaponLowered(void)
void CNEOBaseCombatWeapon::ProcessAnimationEvents(void)
{
CNEO_Player* pOwner = static_cast<CNEO_Player*>(ToBasePlayer(GetOwner()));
if (!pOwner)
Expand Down Expand Up @@ -505,7 +505,7 @@ void CNEOBaseCombatWeapon::ItemPostFrame(void)
if (!pOwner)
return;

HandleWeaponLowered();
ProcessAnimationEvents();

UpdateAutoFire();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class CNEOBaseCombatWeapon : public CBaseHL2MPCombatWeapon

float GetLastAttackTime(void) const { return m_flLastAttackTime; }

virtual void HandleWeaponLowered(void);
virtual void ProcessAnimationEvents(void);
bool m_bWeaponIsLowered;

int GetNumShotsFired(void) const { return m_nNumShotsFired; }
Expand Down
2 changes: 1 addition & 1 deletion mp/src/game/shared/neo/weapons/weapon_supa7.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ void CWeaponSupa7::ItemPostFrame(void)
{
return;
}
HandleWeaponLowered();
ProcessAnimationEvents();

if (m_bInReload)
{
Expand Down

0 comments on commit 51a17df

Please sign in to comment.