diff options
Diffstat (limited to 'src/ui')
-rwxr-xr-x | src/ui/modelview.cc | 2 |
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 |