From 209d650ae93869ef3ff143299f03ead3d67fb348 Mon Sep 17 00:00:00 2001 From: Jeremy Rose Date: Thu, 6 Jun 2024 15:26:05 -0700 Subject: [PATCH] update call sites too --- src/item.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/item.cpp b/src/item.cpp index 8739ddb8bea58..8f3bd4e30e534 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -12833,7 +12833,8 @@ bool item::process_temperature_rot( float insulation, const tripoint &pos, map & } last_temp_check = time; - if( decays_in_air && process_decay_in_air( carrier, max_air_exposure_hours, time_delta ) ) { + if( decays_in_air && + process_decay_in_air( here, carrier, pos, max_air_exposure_hours, time_delta ) ) { return false; } @@ -12855,7 +12856,8 @@ bool item::process_temperature_rot( float insulation, const tripoint &pos, map & calc_temp( temp, insulation, now - time ); last_temp_check = now; - if( decays_in_air && process_decay_in_air( carrier, max_air_exposure_hours, now - time ) ) { + if( decays_in_air && + process_decay_in_air( here, carrier, pos, max_air_exposure_hours, now - time ) ) { return false; }