aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2017-07-17 12:53:14 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-07-17 13:53:14 +0200
commitd3d3638f48211689c3f548b1e6b9d38f53d0c330 (patch)
tree06e5c0efea74a46d0e24c841e633df20a1a81cc1
parentd60434c7b1d2fcc1848fdb619491991d025cb574 (diff)
downloadminetest-d3d3638f48211689c3f548b1e6b9d38f53d0c330.tar.gz
minetest-d3d3638f48211689c3f548b1e6b9d38f53d0c330.tar.bz2
minetest-d3d3638f48211689c3f548b1e6b9d38f53d0c330.zip
Chat: Move chat text down to not overlap 3rd line of debug text (#6145)
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index f0c11cb98..71c410c8a 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -995,7 +995,7 @@ static void updateChat(Client &client, f32 dtime, bool show_debug,
s32 chat_y = 5;
if (show_debug)
- chat_y += 2 * line_height;
+ chat_y += 3 * line_height;
// first pass to calculate height of text to be set
const v2u32 &window_size = RenderingEngine::get_instance()->getWindowSize();