From 0bbad649444c956755cabdb12387f44d805fac33 Mon Sep 17 00:00:00 2001 From: Vaqtincha <51029683+Vaqtincha@users.noreply.github.com> Date: Sat, 19 Feb 2022 15:50:59 +0500 Subject: [PATCH] g3sg1 animation duration fix (#670) --- regamedll/dlls/wpn_shared/wpn_g3sg1.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/regamedll/dlls/wpn_shared/wpn_g3sg1.cpp b/regamedll/dlls/wpn_shared/wpn_g3sg1.cpp index 42efefac4..5351d0f78 100644 --- a/regamedll/dlls/wpn_shared/wpn_g3sg1.cpp +++ b/regamedll/dlls/wpn_shared/wpn_g3sg1.cpp @@ -204,6 +204,12 @@ void CG3SG1::Reload() m_pPlayer->m_iFOV = m_pPlayer->pev->fov = 15; SecondaryAttack(); } + +#ifdef REGAMEDLL_FIXES + // G3SG1_RELOAD_TIME == 3.5 default model "reload" animation time 4.7 (frames 141 / fps 30) + m_flTimeWeaponIdle = m_flTimeWeaponIdle + 1.2f; +#endif + } }