about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-08 19:04:10 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-10-08 19:04:10 +0000
commit1d094181ed06edd6f9d851f5d802bc9d03b6c352 (patch)
treee22b081c209fb4b4e30e62f4d0ee40b82faf6518 /src/game/client
parent3c2cd35056cf180bc96e2ee91ba8c3e0fd0ae79e (diff)
downloadzcatch-1d094181ed06edd6f9d851f5d802bc9d03b6c352.tar.gz
zcatch-1d094181ed06edd6f9d851f5d802bc9d03b6c352.zip
fixed #479 (chat overlaps when text is 3 lines long)
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/components/chat.cpp2
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;