Skip to content
Permalink
Browse files

Fix HUD not visible if below ground blacked out

  • Loading branch information...
sapier sapier
sapier authored and sapier committed Jun 12, 2014
1 parent d7986da commit c78aa7cf24a568bd14d3ff1dfaaca9356a02666a
Showing with 102 additions and 100 deletions.
  1. +9 −0 src/drawscene.cpp
  2. +93 −100 src/game.cpp
@@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "main.h" // for g_settings
#include "settings.h"
#include "clouds.h"
#include "clientmap.h"
#include "util/timetaker.h"

typedef enum {
@@ -458,6 +459,14 @@ void draw_scene(video::IVideoDriver* driver, scene::ISceneManager* smgr,
draw_plain(camera, show_hud, hud, hilightboxes, driver,
draw_wield_tool, client, guienv);
}

/*
Post effects
*/
{
client.getEnv().getClientMap().renderPostFx(camera.getCameraMode());
}

//TODO how to make those 3d too
if (show_hud)
{

0 comments on commit c78aa7c

Please sign in to comment.
You can’t perform that action at this time.