From 6f511b1d05d3e1668967a528b77a9e81e31b3c78 Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Mon, 5 May 2014 07:45:20 +0200 Subject: Bugfix: make waypoints respect camera offset --- src/hud.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/hud.h') diff --git a/src/hud.h b/src/hud.h index 3897a850c..1ace6646f 100644 --- a/src/hud.h +++ b/src/hud.h @@ -115,6 +115,7 @@ public: bool use_hotbar_image; std::string hotbar_selected_image; bool use_hotbar_selected_image; + v3s16 camera_offset; Hud(video::IVideoDriver *driver,scene::ISceneManager* smgr, gui::IGUIEnvironment* guienv, gui::IGUIFont *font, @@ -125,7 +126,7 @@ public: void resizeHotbar(); void drawCrosshair(); void drawSelectionBoxes(std::vector &hilightboxes); - void drawLuaElements(); + void drawLuaElements(v3s16 camera_offset); private: void drawStatbar(v2s32 pos, u16 corner, u16 drawdir, std::string texture, s32 count, v2s32 offset); -- cgit v1.2.3