aboutsummaryrefslogtreecommitdiff
path: root/src/hud.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hud.h')
-rw-r--r--src/hud.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hud.h b/src/hud.h
index 0b69c58da..7f0fbe7b3 100644
--- a/src/hud.h
+++ b/src/hud.h
@@ -154,12 +154,12 @@ private:
void drawItem(const ItemStack &item, const core::rect<s32>& rect,
bool selected);
- float m_hud_scaling;
+ float m_hud_scaling; // cached minetest setting
v3s16 m_camera_offset;
v2u32 m_screensize;
v2s32 m_displaycenter;
- s32 m_hotbar_imagesize;
- s32 m_padding;
+ s32 m_hotbar_imagesize; // Takes hud_scaling into account, updated by resizeHotbar()
+ s32 m_padding; // Takes hud_scaling into account, updated by resizeHotbar()
video::SColor hbar_colors[4];
std::vector<aabb3f> m_selection_boxes;