mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 06:25:41 +00:00
Fix wrong call on free cam (now it's faster)
This commit is contained in:
parent
9b9545b92a
commit
05fb47bdb0
1 changed files with 2 additions and 2 deletions
|
@ -1348,14 +1348,14 @@ CPlayerPed::ProcessPlayerWeapon(CPad *padUsed)
|
||||||
// On this one we can rotate arm.
|
// On this one we can rotate arm.
|
||||||
if (CAN_AIM_WITH_ARM) {
|
if (CAN_AIM_WITH_ARM) {
|
||||||
if (!padUsed->GetWeapon()) { // making this State != ATTACK still stops it after attack. Re-start it immediately!
|
if (!padUsed->GetWeapon()) { // making this State != ATTACK still stops it after attack. Re-start it immediately!
|
||||||
SetWeaponLockOnTarget(nil);
|
SetPointGunAt(nil);
|
||||||
bIsPointingGunAt = false; // to not stop after attack
|
bIsPointingGunAt = false; // to not stop after attack
|
||||||
}
|
}
|
||||||
pointedGun = 2;
|
pointedGun = 2;
|
||||||
SetLookFlag(limitedCam, true);
|
SetLookFlag(limitedCam, true);
|
||||||
SetAimFlag(limitedCam);
|
SetAimFlag(limitedCam);
|
||||||
SetLookTimer(INT32_MAX); // removing this makes head move for real, but I experinced some bugs.
|
SetLookTimer(INT32_MAX); // removing this makes head move for real, but I experinced some bugs.
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
m_fRotationDest = limitedCam;
|
m_fRotationDest = limitedCam;
|
||||||
changedHeadingRate = 2;
|
changedHeadingRate = 2;
|
||||||
|
|
Loading…
Reference in a new issue