projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d60434c
)
Chat: Move chat text down to not overlap 3rd line of debug text (#6145)
author
Paramat
<paramat@users.noreply.github.com>
Mon, 17 Jul 2017 11:53:14 +0000
(12:53 +0100)
committer
Loïc Blot
<nerzhul@users.noreply.github.com>
Mon, 17 Jul 2017 11:53:14 +0000
(13:53 +0200)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index f0c11cb98260ca9b497f043aa71d92719b4512b9..71c410c8aefa04ec52339dc7134feb76a2a2fa24 100644
(file)
--- 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();