Fix Shotguns reload flag not getting reset on weapon changing (#993)

This commit is contained in:
Francisco Muñoz 2024-08-12 02:40:09 -04:00 committed by GitHub
parent c48be87474
commit fee10d8ba8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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