diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-05-07 00:42:44 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-05-07 00:42:44 -0700 |
commit | 8790ccae1394b742dfbe1e7e0c78d5b30ad204f6 (patch) | |
tree | 53820a46511a399ab4199c9775b6ce7ba18e59f1 /jc_allow-bio-firestarter-on-smoker.patch | |
parent | Fix more inconsistent ammo names (diff) | |
download | cataclysm-bn-8790ccae1394b742dfbe1e7e0c78d5b30ad204f6.tar.xz |
Port to Bright Nights
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 ); + } } |