Skip to content

Commit

Permalink
Merge pull request CleverRaven#70696 from CleverRaven/clang-tidy-patch-1
Browse files Browse the repository at this point in the history
Fix clang-tidy error in map::creature_on_trap() in map.cpp
  • Loading branch information
akrieger authored Jan 6, 2024
2 parents 69cddfe + 18a88d2 commit a53d7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9722,7 +9722,7 @@ void map::creature_on_trap( Creature &c, const bool may_avoid ) const
}
}
// first trigger proximity traps
for( auto &loc : tr_proximity ) {
for( tripoint &loc : tr_proximity ) {
maybe_trigger_prox_trap( loc, c, may_avoid );
}
// then traps we stepped on
Expand Down

0 comments on commit a53d7e7

Please sign in to comment.