Skip to content

Instantly share code, notes, and snippets.

@kahrl
Created October 19, 2014 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kahrl/dfb0cfae62a8a68d6e03 to your computer and use it in GitHub Desktop.
Save kahrl/dfb0cfae62a8a68d6e03 to your computer and use it in GitHub Desktop.
diff --git a/src/mapblock_mesh.cpp b/src/mapblock_mesh.cpp
index a7fafa6..baac9bf 100644
--- a/src/mapblock_mesh.cpp
+++ b/src/mapblock_mesh.cpp
@@ -48,6 +48,8 @@ MeshMakeData::MeshMakeData(IGameDef *gamedef):
m_crack_pos_relative(-1337, -1337, -1337),
m_highlighted_pos_relative(-1337, -1337, -1337),
m_smooth_lighting(false),
+ m_show_hud(false),
+ m_highlight_mesh_color(255, 255, 255, 255),
m_gamedef(gamedef)
{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment