g3sg1 animation duration fix (#670)

This commit is contained in:
Vaqtincha 2022-02-19 15:50:59 +05:00 committed by GitHub
parent bbf4541361
commit 0bbad64944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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