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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc
index 7a780bf..e2037e2 100644
--- a/src/render/draw.cc
+++ b/src/render/draw.cc
@@ -515,7 +515,7 @@ void draw_pass_model_corona()
for (std::map<unsigned int, core::Entity *>::iterator it=core::Entity::registry.begin(); it != core::Entity::registry.end(); it++) {
core::Entity *entity = (*it).second;
- if ((entity->shape() != core::Entity::Sphere) && entity->state() && entity->state()->visible()) {
+ if (entity->model() && entity->state() && entity->state()->visible()) {
gl::push();
gl::translate(entity->state()->location());
math::Color color = entity->color();