mirror of
https://github.com/halpz/re3.git
synced 2025-07-10 13:58:54 +00:00
Merge remote-tracking branch 'upstream/lcs' into lcs
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user