diff options
Diffstat (limited to 'src/client/view.cc')
-rw-r--r-- | src/client/view.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/view.cc b/src/client/view.cc index dc17cce..eda5cf8 100644 --- a/src/client/view.cc +++ b/src/client/view.cc @@ -347,7 +347,10 @@ void frame(float seconds) if (core::application()->connected() && core::game()->serverframetime()) { render::draw(seconds); // draw the world - targets::draw(); + targets::frame(); + if (draw_ui->value()) { + targets::draw_target(); + } } // switch to ortographic projection to draw the GUI |