Skip to content

Commit

Permalink
Fix Shotguns reload flag not getting reset on weapon changing (#993)
Browse files Browse the repository at this point in the history
  • Loading branch information
dystopm authored Aug 12, 2024
1 parent c48be87 commit fee10d8
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 fee10d8

Please sign in to comment.