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-07-20 17:37:03 +0000
committerStijn Buys <ingar@osirion.org>2008-07-20 17:37:03 +0000
commit8ad20ed0462227463a5e3b94683d8c1c5a650494 (patch)
treeb328fa70ba7b45e3dccb7de54cb5b43c68624cde /src/render/draw.cc
parented36610840d6b845a7ac9706502c447a5b773b31 (diff)
targetting
Diffstat (limited to 'src/render/draw.cc')
-rw-r--r--src/render/draw.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc
index 8855343..17dbdda 100644
--- a/src/render/draw.cc
+++ b/src/render/draw.cc
@@ -318,8 +318,7 @@ void pass_prepare(float seconds)
// load entity models and light flare textures
if (!entity->model() && entity->modelname().size()) {
entity->entity_model = model::Model::load(entity->modelname());
- entity->entity_radius = entity->model()->radius();
-
+
if (!entity->model()) {
entity->entity_modelname.clear();
entity->entity_radius = 0.25;
@@ -423,7 +422,8 @@ void pass_prepare(float seconds)
}
}
}
-
+
+ /*
// calculate screen position
if (entity->state()->visible()) {
GLdouble x = 0;
@@ -438,6 +438,7 @@ void pass_prepare(float seconds)
entity->state()->state_targetable = true;
}
}
+ */
}
}