summaryrefslogtreecommitdiff
path: root/jc_allow-bio-firestarter-on-smoker.patch
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2022-07-22 17:35:13 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2022-07-22 17:35:13 -0700
commit79d1f6b5e2b6f42a8bc98014c5b05b45b30b8114 (patch)
treecf618a4e8517372dbdb3f6aedc3bae622e2f848f /jc_allow-bio-firestarter-on-smoker.patch
parentUpdated to 2022-07-11-1024. (diff)
downloadcataclysm-bn-79d1f6b5e2b6f42a8bc98014c5b05b45b30b8114.tar.xz
Updated to 2022-07-22-1520.
Fix two patches for this update.
Diffstat (limited to 'jc_allow-bio-firestarter-on-smoker.patch')
-rw-r--r--jc_allow-bio-firestarter-on-smoker.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/jc_allow-bio-firestarter-on-smoker.patch b/jc_allow-bio-firestarter-on-smoker.patch
index 49df9f4..6209441 100644
--- a/jc_allow-bio-firestarter-on-smoker.patch
+++ b/jc_allow-bio-firestarter-on-smoker.patch
@@ -17,7 +17,7 @@
}
- p.use_charges( itype_fire, 1 );
-- for( auto &it : g->m.i_at( examp ) ) {
+- for( auto &it : here.i_at( examp ) ) {
- if( it.has_flag( flag_SMOKABLE ) ) {
- it.process_rot( 1, false, examp, nullptr );
- it.set_flag( flag_PROCESSING );
@@ -40,4 +40,4 @@
+ }
}
}
- g->m.furn_set( examp, next_smoker_type );
+ here.furn_set( examp, next_smoker_type );