Skip to content

Commit

Permalink
Merge pull request #73962 from Procyonae/Backport72662
Browse files Browse the repository at this point in the history
Backport #72662
  • Loading branch information
dseguin authored May 22, 2024
2 parents 4e39b75 + 918733b commit 4cce799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/monmove.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ bool monster::can_reach_to( const tripoint &p ) const

bool monster::can_move_to( const tripoint &p ) const
{
return can_reach_to( p ) && will_move_to( p ) && know_danger_at( p );
return can_reach_to( p ) && will_move_to( p );
}

float monster::rate_target( Creature &c, float best, bool smart ) const
Expand Down

0 comments on commit 4cce799

Please sign in to comment.