Fix disable hud disabling drawing of full gui
authorsapier <Sapier at GMX dot net>
Sat, 24 May 2014 10:15:11 +0000 (12:15 +0200)
committersapier <Sapier at GMX dot net>
Sat, 24 May 2014 10:15:11 +0000 (12:15 +0200)
src/drawscene.cpp

index 491101563cbe72a95a74c9c6c5b5a5cd6d578b67..218ddec68053de1585010456e60da20ecff228f6 100644 (file)
@@ -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);
        }