Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rwxr-xr-xsrc/ui/modelview.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/modelview.cc b/src/ui/modelview.cc
index b8d2a86..71fff6c 100755
--- a/src/ui/modelview.cc
+++ b/src/ui/modelview.cc
@@ -374,7 +374,7 @@ void ModelView::draw_model()
flare->set_texture(render::Textures::load(texturename.str()));
}
- render::draw_model_lights(model, modelscale, math::Vector3f(), modelview_axis, core::localplayer()->color(), thrust, 0.0f);
+ render::draw_model_lights(model, modelscale, math::Vector3f(), modelview_axis, core::localplayer()->color(), core::localplayer()->color_second(), thrust, 0.0f);
gl::disable(GL_TEXTURE_2D);
gl::disable(GL_COLOR_MATERIAL); // disable color tracking