mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-15 22:20:34 +00:00
Fix aiming with minigun and flamethrower with PC controls
This commit is contained in:
parent
5e34b1efcf
commit
aec797671e
2 changed files with 9 additions and 1 deletions
|
@ -1913,7 +1913,7 @@ bool CRunningScript::CheckDamagedWeaponType(int32 actual, int32 type)
|
|||
if (type == WEAPONTYPE_ANYMELEE) {
|
||||
if (actual <= WEAPONTYPE_CHAINSAW)
|
||||
return true;
|
||||
if (actual - WEAPONTYPE_GRENADE <= WEAPONTYPE_MINIGUN)
|
||||
if (actual >= WEAPONTYPE_GRENADE && actual <= WEAPONTYPE_UNIDENTIFIED)
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue