From: sapier Date: Sat, 24 May 2014 10:15:11 +0000 (+0200) Subject: Fix disable hud disabling drawing of full gui X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=6b37529bd6dc4d89baced0d4e2cd956daccbaeb7;p=zefram%2Fminetest%2Fminetest_engine.git Fix disable hud disabling drawing of full gui --- diff --git a/src/drawscene.cpp b/src/drawscene.cpp index 49110156..218ddec6 100644 --- a/src/drawscene.cpp +++ b/src/drawscene.cpp @@ -464,10 +464,10 @@ void draw_scene(video::IVideoDriver* driver, scene::ISceneManager* smgr, hud.drawCrosshair(); hud.drawHotbar(client.getPlayerItem()); hud.drawLuaElements(camera.getOffset()); - - guienv->drawAll(); } + guienv->drawAll(); + scenetime = timer.stop(true); }