mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-13 01:29:10 +00:00
(svn r14040) -Codechange:Remove a hard coded value that is not even representative,
since captions have their own encoded colours in string.
This commit is contained in:
@@ -479,7 +479,7 @@ void Window::DrawWidgets() const
|
||||
GfxFillRect(r.left + 2, r.top + 2, r.right - 2, r.bottom - 2, _colour_gradient[_player_colors[this->caption_color]][4]);
|
||||
}
|
||||
|
||||
DrawStringCenteredTruncated(r.left + 2, r.right - 2, r.top + 2, wi->data, 0x84);
|
||||
DrawStringCenteredTruncated(r.left + 2, r.right - 2, r.top + 2, wi->data, TC_FROMSTRING);
|
||||
break;
|
||||
|
||||
case WWT_DROPDOWN: {
|
||||
|
Reference in New Issue
Block a user