From fee10d8ba83e84f70c70177bbd6919a8a22ff435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Mu=C3=B1oz?= Date: Mon, 12 Aug 2024 02:40:09 -0400 Subject: [PATCH] Fix Shotguns reload flag not getting reset on weapon changing (#993) --- regamedll/dlls/weapons.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/regamedll/dlls/weapons.cpp b/regamedll/dlls/weapons.cpp index 9a3d8e0c..087f45ee 100644 --- a/regamedll/dlls/weapons.cpp +++ b/regamedll/dlls/weapons.cpp @@ -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