diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/targets.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/targets.cc b/src/client/targets.cc index 384c793..b87f056 100644 --- a/src/client/targets.cc +++ b/src/client/targets.cc @@ -50,7 +50,7 @@ bool is_legal_target(core::Entity *entity) if (entity->type() != core::Entity::Controlable) { return entity->state()->visible(); - } else if (entity->state()->distance() < core::range::max) { + } else if (entity->state()->distance() < core::range::visible) { return true; } } |