Skip to content

Commit

Permalink
Update src/trapfunc.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: anothersimulacrum <[email protected]>
  • Loading branch information
GalacticApple and anothersimulacrum authored Jun 26, 2024
1 parent 7a3616a commit 96b8bcd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/trapfunc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,7 @@ bool trapfunc::caltrops_glass( const tripoint &p, Creature *c, item * )
z->deal_damage( nullptr, bodypart_id( "foot_r" ), damage_instance( damage_cut, rng( 9, 15 ) ) );
} else {
for( const bodypart_id &bp : c->get_ground_contact_bodyparts() ) {
dealt_damage_instance dd = c->deal_damage( nullptr, bp, damage_instance( damage_cut, rng( 9,
30 ) ) );
c->deal_damage( nullptr, bp, damage_instance( damage_cut, rng( 9, 30 ) ) );
}
}
c->check_dead_state();
Expand Down

0 comments on commit 96b8bcd

Please sign in to comment.