Cleanup in content_mapblock (#5746)
[oweals/minetest.git] / src / hud.h
index efa0c3648b46e10529acafae9d32830c1042ae41..15c115d89e9b0046cc018dcc842eff79ee0d1c07 100644 (file)
--- a/src/hud.h
+++ b/src/hud.h
@@ -175,7 +175,11 @@ private:
        v3f m_selected_face_normal;
 
        video::SMaterial m_selection_material;
-       bool m_use_selection_mesh;
+
+       enum {
+               HIGHLIGHT_BOX,
+               HIGHLIGHT_HALO,
+               HIGHLIGHT_NONE } m_mode;
 };
 
 enum ItemRotationKind {