1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix node 0,0,0 being highlighted when enable_node_highlighting == false

Without this patch node 0,0,0 is highlighted when enable_node_highligting is false
There is a minor lighting issue remaining, however it seems to be related to a different bug (https://github.com/minetest/minetest/issues/1887)
This commit is contained in:
Craig Robbins 2014-12-01 22:05:36 +10:00
parent d4f42938a5
commit 691b18c41b
3 changed files with 9 additions and 7 deletions

View file

@ -398,7 +398,7 @@ public:
int getCrackLevel();
void setCrack(int level, v3s16 pos);
void setHighlighted(v3s16 pos, bool show_hud);
void setHighlighted(v3s16 pos, bool show_higlighted);
v3s16 getHighlighted(){ return m_highlighted_pos; }
u16 getHP();
@ -509,7 +509,7 @@ private:
float m_inventory_from_server_age;
std::set<v3s16> m_active_blocks;
PacketCounter m_packetcounter;
bool m_show_hud;
bool m_show_highlighted;
// Block mesh animation parameters
float m_animation_time;
int m_crack_level;