Skip to content

Commit

Permalink
Merge pull request #33022 from CleverRaven/kevingranade-accuratizatio…
Browse files Browse the repository at this point in the history
…n-no-damage

Remove gun damage boost from accuratization
  • Loading branch information
ZhilkinSerg authored Aug 8, 2019
2 parents 0c0b100 + 941d170 commit 3597e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5750,7 +5750,7 @@ damage_instance item::gun_damage( bool with_ammo ) const
}

int item_damage = damage_level( 4 );
if( item_damage != 0 ) {
if( item_damage > 0 ) {
// TODO: This isn't a good solution for multi-damage guns/ammos
for( damage_unit &du : ret ) {
du.amount -= item_damage * 2;
Expand Down

0 comments on commit 3597e0f

Please sign in to comment.