Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-08-08 23:15:07 +0000
committerStijn Buys <ingar@osirion.org>2008-08-08 23:15:07 +0000
commitd8a58b9187d41c69cd77ac2984f743d258b3530d (patch)
treefe9604b9db234c5c1d763a0b3e84c93495888b9f /src/client
parent56b0856541446cbafee4eed9ef0ee9fb69af565a (diff)
reduced player target distance to 512
Diffstat (limited to 'src/client')
-rw-r--r--src/client/targets.cc2
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;
}
}