diff --git a/src/game.cpp b/src/game.cpp index a8f6bc99..12bc695a 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -2786,8 +2786,13 @@ void the_game(bool &kill, bool random_input, InputHandler *input, if(pointed != pointed_old) { infostream<<"Pointing at "<getBool("enable_node_highlighting")) - client.setHighlighted(pointed.node_undersurface, show_hud); + if (g_settings->getBool("enable_node_highlighting")) { + if (pointed.type == POINTEDTHING_NODE) { + client.setHighlighted(pointed.node_undersurface, show_hud); + } else { + client.setHighlighted(pointed.node_undersurface, false); + } + } } /*