Skip to content

Commit 2dd69a8

Browse files
sapiersapier
sapier
authored and
sapier
committedJun 20, 2014
Fix chat overlaying full screen, now it's gonna overlay only up to length of longest line
1 parent 3a9cf21 commit 2dd69a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/game.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3227,7 +3227,7 @@ void the_game(bool &kill, bool random_input, InputHandler *input,
32273227
core::rect<s32> rect(
32283228
10,
32293229
status_y - guitext_status->getTextHeight(),
3230-
screensize.X - 10,
3230+
10 + guitext_chat->getTextWidth(),
32313231
status_y
32323232
);
32333233
guitext_status->setRelativePosition(rect);

0 commit comments

Comments
 (0)
Please sign in to comment.