Skip to content

Commit

Permalink
tripoint conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
b3brodie committed Nov 29, 2024
1 parent c63d4ff commit 1c428a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/avatar_action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ bool avatar_action::move( avatar &you, map &m, const tripoint_rel_ms &d )
get_option<bool>( "AUTO_FEATURES" ) && get_option<bool>( "AUTO_MINING" ) &&
!m.veh_at( dest_loc ) && !you.is_underwater() && !you.has_effect( effect_stunned ) &&
!you.has_effect( effect_psi_stunned ) && !is_riding && !you.has_effect( effect_incorporeal ) &&
!m.impassable_field_at( d ) ) {
!m.impassable_field_at( d.raw() ) ) {
if( weapon && weapon->has_flag( flag_DIG_TOOL ) ) {
if( weapon->type->can_use( "JACKHAMMER" ) &&
weapon->ammo_sufficient( &you ) ) {
Expand Down

0 comments on commit 1c428a1

Please sign in to comment.