mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-08 17:40:35 +00:00
option for PC controls
This commit is contained in:
parent
b574996334
commit
88b0134e72
9 changed files with 31 additions and 3 deletions
|
@ -1159,6 +1159,7 @@ 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()) {
|
||||
|
@ -1193,7 +1194,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