mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-05 16:49:59 +00:00
option for PC controls
This commit is contained in:
parent
1d7bdce0ef
commit
309a4613a4
10 changed files with 48 additions and 1 deletions
|
@ -929,6 +929,8 @@ void
|
|||
CPlayerPed::ProcessAnimGroups(void)
|
||||
{
|
||||
AssocGroupId groupToSet;
|
||||
|
||||
#ifdef PC_PLAYER_CONTROLS
|
||||
if ((m_fWalkAngle <= -DEGTORAD(50.0f) || m_fWalkAngle >= DEGTORAD(50.0f))
|
||||
&& TheCamera.Cams[TheCamera.ActiveCam].Using3rdPersonMouseCam()
|
||||
&& CanStrafeOrMouseControl()) {
|
||||
|
@ -951,7 +953,9 @@ CPlayerPed::ProcessAnimGroups(void)
|
|||
else
|
||||
groupToSet = ASSOCGRP_PLAYERBACK;
|
||||
}
|
||||
} else {
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
if (GetWeapon()->m_eWeaponType == WEAPONTYPE_ROCKETLAUNCHER) {
|
||||
groupToSet = ASSOCGRP_PLAYERROCKET;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue