From 2dd69a85e71da15a58e59e12d5e986a617429c8f Mon Sep 17 00:00:00 2001 From: sapier Date: Fri, 20 Jun 2014 15:18:45 +0200 Subject: Fix chat overlaying full screen, now it's gonna overlay only up to length of longest line --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game.cpp b/src/game.cpp index 9bbbb5ecf..4e2677be6 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -3227,7 +3227,7 @@ void the_game(bool &kill, bool random_input, InputHandler *input, core::rect rect( 10, status_y - guitext_status->getTextHeight(), - screensize.X - 10, + 10 + guitext_chat->getTextWidth(), status_y ); guitext_status->setRelativePosition(rect); -- cgit v1.2.3