aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-05-24 12:15:11 +0200
committersapier <Sapier at GMX dot net>2014-05-24 12:15:11 +0200
commit6b37529bd6dc4d89baced0d4e2cd956daccbaeb7 (patch)
treeade2c7d1450182895dd372698a5b32b9d3073d3d /src
parent6922807fd526b9f4e9f75426e3278ee7239c1751 (diff)
downloadminetest-6b37529bd6dc4d89baced0d4e2cd956daccbaeb7.tar.gz
minetest-6b37529bd6dc4d89baced0d4e2cd956daccbaeb7.tar.bz2
minetest-6b37529bd6dc4d89baced0d4e2cd956daccbaeb7.zip
Fix disable hud disabling drawing of full gui
Diffstat (limited to 'src')
-rw-r--r--src/drawscene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drawscene.cpp b/src/drawscene.cpp
index 491101563..218ddec68 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);
}