Skip to content

Commit

Permalink
Fix Shotguns reload flag not getting reset on weapon changing
Browse files Browse the repository at this point in the history
  • Loading branch information
dystopm committed Aug 11, 2024
1 parent c48be87 commit d2f2f5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions regamedll/dlls/weapons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1671,6 +1671,10 @@ void CBasePlayerWeapon::Holster(int skiplocal)
m_fInReload = FALSE;
m_pPlayer->pev->viewmodel = 0;
m_pPlayer->pev->weaponmodel = 0;

#ifdef REGAMEDLL_FIXES
m_fInSpecialReload = 0;
#endif
}

// called by the new item with the existing item as parameter
Expand Down

0 comments on commit d2f2f5a

Please sign in to comment.