Skip to content

Commit

Permalink
g3sg1 animation duration fix (rehlds#670)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaqtincha authored Feb 19, 2022
1 parent bbf4541 commit 0bbad64
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions regamedll/dlls/wpn_shared/wpn_g3sg1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

}
}

Expand Down

0 comments on commit 0bbad64

Please sign in to comment.