From 18a88d2c86967f11be36aa018a9d23a33934a831 Mon Sep 17 00:00:00 2001 From: Binrui Dong Date: Sat, 6 Jan 2024 11:12:40 +0800 Subject: [PATCH] Fix clang-tidy error in map::creature_on_trap() in map.cpp --- src/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map.cpp b/src/map.cpp index ab896a0052b3a..6406bef92ce99 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -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