1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 12:39:11 +00:00

(svn r27144) -Change: The chatbox-width setting now uses percent of screen width instead of pixels.

This commit is contained in:
frosch
2015-02-12 20:00:23 +00:00
parent 853e96e67b
commit 2f7de4fd99
3 changed files with 6 additions and 6 deletions

View File

@@ -120,7 +120,7 @@ void NetworkInitChatMessage()
_chatmsg_list = ReallocT(_chatmsg_list, _settings_client.gui.network_chat_box_height);
_chatmsg_box.x = 10;
_chatmsg_box.width = _settings_client.gui.network_chat_box_width;
_chatmsg_box.width = _settings_client.gui.network_chat_box_width_pct * _screen.width / 100;
NetworkReInitChatBoxSize();
_chatmessage_visible = false;