From d8a58b9187d41c69cd77ac2984f743d258b3530d Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 8 Aug 2008 23:15:07 +0000 Subject: reduced player target distance to 512 --- src/client/targets.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') 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; } } -- cgit v1.2.3