mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-16 06:20:32 +00:00
Merge remote-tracking branch 'upstream/lcs' into lcs
This commit is contained in:
commit
c7d3b88cb7
5 changed files with 29 additions and 15 deletions
|
@ -1928,7 +1928,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