Chat: Move chat text down to not overlap 3rd line of debug text (#6145)
authorParamat <paramat@users.noreply.github.com>
Mon, 17 Jul 2017 11:53:14 +0000 (12:53 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Mon, 17 Jul 2017 11:53:14 +0000 (13:53 +0200)
src/game.cpp

index f0c11cb98260ca9b497f043aa71d92719b4512b9..71c410c8aefa04ec52339dc7134feb76a2a2fa24 100644 (file)
@@ -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();