diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-07-25 20:44:31 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-07-25 20:44:31 +0200 |
commit | c7d3b88cb71a9a060af1fd29d39c096bb55264d0 (patch) | |
tree | a9d697f8a8808c49a422815b998992e5ddff4797 /src/control | |
parent | low effort save support (diff) | |
parent | Merge branch 'miami' into lcs (diff) | |
download | re3-c7d3b88cb71a9a060af1fd29d39c096bb55264d0.tar re3-c7d3b88cb71a9a060af1fd29d39c096bb55264d0.tar.gz re3-c7d3b88cb71a9a060af1fd29d39c096bb55264d0.tar.bz2 re3-c7d3b88cb71a9a060af1fd29d39c096bb55264d0.tar.lz re3-c7d3b88cb71a9a060af1fd29d39c096bb55264d0.tar.xz re3-c7d3b88cb71a9a060af1fd29d39c096bb55264d0.tar.zst re3-c7d3b88cb71a9a060af1fd29d39c096bb55264d0.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Script5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script5.cpp b/src/control/Script5.cpp index c5d316a3..8544f604 100644 --- a/src/control/Script5.cpp +++ b/src/control/Script5.cpp @@ -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; } |