From 6ab4021827e91303ac6fe2276f5567810b7e0496 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 16 Apr 2009 19:36:15 +0000 Subject: updated a few help messages, added 3d modelview to the buy menu --- src/render/draw.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/render/draw.cc') diff --git a/src/render/draw.cc b/src/render/draw.cc index 6762b64..5784347 100644 --- a/src/render/draw.cc +++ b/src/render/draw.cc @@ -539,12 +539,8 @@ void draw_fragment(model::Fragment *fragment, bool draw_details) void draw_model_fragments(model::Model *model, const math::Color & color_primary, const math::Color & color_secondary, - const bool detail = true, const bool power = true, const float thrust = 0.0f) + const bool detail, const bool power, const float thrust) { - - if (!model) - return; - // default material, lighted and geometry color const model::Material *material = 0; bool use_light = true; // gl::disable(GL_LIGHTING) is set -- cgit v1.2.3