diff options
Diffstat (limited to 'src/render/draw.cc')
-rw-r--r-- | src/render/draw.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc index 8bf694f..c74f65f 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -498,7 +498,7 @@ void draw_pass_default() for (core::Zone::Content::iterator it = zone->content().begin(); it != zone->content().end(); ++it) { core::Entity *entity = (*it); - if (!entity->model() && (entity->type() != core::Entity::Globe)) { + if (!entity->serverside() && !entity->model() && (entity->type() != core::Entity::Globe)) { gl::push(); gl::translate(entity->state()->location()); @@ -1086,7 +1086,6 @@ void draw(float seconds) draw_pass_spacegrid(); // draw the blue spacegrid Dust::draw(zone_color); // draw spacedust - draw_pass_model_fx(seconds); // draw entity lights and engines gl::enable(GL_LIGHTING); @@ -1103,7 +1102,7 @@ void draw(float seconds) gl::disable(GL_COLOR_MATERIAL); // disable color tracking gl::disable(GL_CULL_FACE); // disable culling - gl::depthmask(GL_TRUE); // enable depth buffer writing + gl::depthmask(GL_TRUE); // enable depth buffer writing gl::disable(GL_DEPTH_TEST); // disable depth buffer testing // GL_BLEND must be enabled for the GUI } |