Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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;
}
}
+ */
}
}