summaryrefslogtreecommitdiff
path: root/jc_allow-bio-firestarter-on-smoker.patch
diff options
context:
space:
mode:
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 );