diff options
Diffstat (limited to 'jc_allow-bio-firestarter-on-smoker.patch')
-rw-r--r-- | jc_allow-bio-firestarter-on-smoker.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jc_allow-bio-firestarter-on-smoker.patch b/jc_allow-bio-firestarter-on-smoker.patch index e81a493..6ced728 100644 --- a/jc_allow-bio-firestarter-on-smoker.patch +++ b/jc_allow-bio-firestarter-on-smoker.patch @@ -1,6 +1,6 @@ --- a/src/iexamine.cpp +++ b/src/iexamine.cpp -@@ -4868,18 +4868,30 @@ +@@ -4866,18 +4866,30 @@ return; } @@ -18,12 +18,12 @@ - p.use_charges( "fire", 1 ); - for( auto &it : g->m.i_at( examp ) ) { - if( it.has_flag( flag_SMOKABLE ) ) { -- it.process_temperature_rot( 1, examp, nullptr ); +- it.process_rot( 1, false, examp, nullptr ); - it.set_flag( flag_PROCESSING ); + if( has_bionic_firestarter ) { + for( auto &it : g->m.i_at( examp ) ) { + if( it.has_flag( flag_SMOKABLE ) ) { -+ it.process_temperature_rot( 1, examp, nullptr ); ++ it.process_rot( 1, false, examp, nullptr ); + it.set_flag( flag_PROCESSING ); + } + } @@ -31,7 +31,7 @@ + p.use_charges( "fire", 1 ); + for( auto &it : g->m.i_at( examp ) ) { + if( it.has_flag( flag_SMOKABLE ) ) { -+ it.process_temperature_rot( 1, examp, nullptr ); ++ it.process_rot( 1, false, examp, nullptr ); + it.set_flag( flag_PROCESSING ); + } } |