aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index abeceae0b..a90d1e0c1 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1814,6 +1814,14 @@ void the_game(
{
infotext = narrow_to_wide(meta->infoText());
}
+ else
+ {
+ MapNode n = client.getNode(nodepos);
+ if(nodedef->get(n).tname_tiles[0] == "unknown_block.png"){
+ infotext = L"Unknown node: ";
+ infotext += narrow_to_wide(nodedef->get(n).name);
+ }
+ }
/*
Handle digging