diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-08 19:04:10 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-10-08 19:04:10 +0000 |
| commit | 1d094181ed06edd6f9d851f5d802bc9d03b6c352 (patch) | |
| tree | e22b081c209fb4b4e30e62f4d0ee40b82faf6518 /src/game | |
| parent | 3c2cd35056cf180bc96e2ee91ba8c3e0fd0ae79e (diff) | |
| download | zcatch-1d094181ed06edd6f9d851f5d802bc9d03b6c352.tar.gz zcatch-1d094181ed06edd6f9d851f5d802bc9d03b6c352.zip | |
fixed #479 (chat overlaps when text is 3 lines long)
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/client/components/chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/chat.cpp b/src/game/client/components/chat.cpp index abd2f73a..998ba6ed 100644 --- a/src/game/client/components/chat.cpp +++ b/src/game/client/components/chat.cpp @@ -167,7 +167,7 @@ void CHAT::on_render() // get the y offset TEXT_CURSOR cursor; gfx_text_set_cursor(&cursor, begin, 0, fontsize, 0); - cursor.line_width = 300.0f; + cursor.line_width = 200.0f; gfx_text_ex(&cursor, lines[r].name, -1); gfx_text_ex(&cursor, lines[r].text, -1); y -= cursor.y + cursor.font_size; |