diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/actorspritemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp index 3206fe36a..d7e542323 100644 --- a/src/actorspritemanager.cpp +++ b/src/actorspritemanager.cpp @@ -964,7 +964,7 @@ Being *ActorSpriteManager::findNearestLivingBeing(Being *aroundBeing, { Being *target = sortedBeings.at(0); - if (specialDistance && target->getType() == type + if (specialDistance && target->getType() == Being::MONSTER && target->getDistance() <= 2) { return nullptr; |