Skip to content

Commit

Permalink
Fixing compile error related to map::get_field usage
Browse files Browse the repository at this point in the history
  • Loading branch information
katemonster33 committed Oct 24, 2024
1 parent a7d22e8 commit c7cc651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bionics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ bool Character::activate_bionic( bionic &bio, bool eff_only, bool *close_bionics
add_msg_if_player( m_info, _( "You can now run faster, assisted by joint servomotors." ) );
} else if( bio.id == bio_lighter ) {
const std::optional<tripoint> pnt = choose_adjacent( _( "Start a fire where?" ) );
if( pnt && here.is_flammable( *pnt ) && !here.get_field( *pnt, fd_fire ) ) {
if( pnt && here.is_flammable( *pnt ) && !here.get_field( tripoint_bub_ms( *pnt ), fd_fire ) ) {
add_msg_activate();
here.add_field( *pnt, fd_fire, 1 );
if( has_trait( trait_PYROMANIA ) ) {
Expand Down

0 comments on commit c7cc651

Please sign in to comment.