We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d79ba4 commit c85df89Copy full SHA for c85df89
src/monster.cpp
@@ -589,7 +589,7 @@ void Monster::goToFollowCreature()
589
590
if (isFleeing()) {
591
getDistanceStep(followCreature->getPosition(), dir, true);
592
- } else if (fpp.maxTargetDist > 1) {
+ } else { // maxTargetDist > 1
593
if (!getDistanceStep(followCreature->getPosition(), dir)) {
594
// if we can't get anything then let the A* calculate
595
updateFollowCreaturePath(fpp);
0 commit comments