Review item_w_called_shot

This commit is contained in:
Alexander Batalov 2023-02-27 17:29:12 +03:00
parent d2bfd8012b
commit 16b5939de4

View File

@ -1563,7 +1563,7 @@ int item_w_called_shot(Object* critter, int hit_mode)
if (damage_type == DAMAGE_TYPE_EXPLOSION
|| damage_type == DAMAGE_TYPE_FIRE
|| damage_type == DAMAGE_TYPE_EMP
|| (damage_type == ANIM_THROW_ANIM && damage_type == DAMAGE_TYPE_PLASMA)) {
|| (anim == ANIM_THROW_ANIM && damage_type == DAMAGE_TYPE_PLASMA)) {
return 0;
}