Chat: Move chat text down to not overlap 3rd line of debug text (#6145)

This commit is contained in:
Paramat 2017-07-17 12:53:14 +01:00 committed by Loïc Blot
parent d60434c7b1
commit d3d3638f48

@ -995,7 +995,7 @@ static void updateChat(Client &client, f32 dtime, bool show_debug,
s32 chat_y = 5; s32 chat_y = 5;
if (show_debug) if (show_debug)
chat_y += 2 * line_height; chat_y += 3 * line_height;
// first pass to calculate height of text to be set // first pass to calculate height of text to be set
const v2u32 &window_size = RenderingEngine::get_instance()->getWindowSize(); const v2u32 &window_size = RenderingEngine::get_instance()->getWindowSize();