Skip to content

Commit c78aa7c

Browse files
sapiersapier
sapier
authored and
sapier
committedJun 12, 2014
Fix HUD not visible if below ground blacked out
1 parent d7986da commit c78aa7c

File tree

2 files changed

+102
-100
lines changed

2 files changed

+102
-100
lines changed
 

‎src/drawscene.cpp

+9
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
2121
#include "main.h" // for g_settings
2222
#include "settings.h"
2323
#include "clouds.h"
24+
#include "clientmap.h"
2425
#include "util/timetaker.h"
2526

2627
typedef enum {
@@ -458,6 +459,14 @@ void draw_scene(video::IVideoDriver* driver, scene::ISceneManager* smgr,
458459
draw_plain(camera, show_hud, hud, hilightboxes, driver,
459460
draw_wield_tool, client, guienv);
460461
}
462+
463+
/*
464+
Post effects
465+
*/
466+
{
467+
client.getEnv().getClientMap().renderPostFx(camera.getCameraMode());
468+
}
469+
461470
//TODO how to make those 3d too
462471
if (show_hud)
463472
{

0 commit comments

Comments
 (0)
Please sign in to comment.