1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-24 12:44:10 +01:00

(svn r26460) [1.4] -Backport from trunk:

- Fix: Do not crash when supplying an invalid filename without extension to cmd parameter -q (r26423)
- Fix: Some road constructions used the rail sound effect [FS#5946] (r26422)
- Fix: Goal GUI failed to shade [FS#5948] (r26420)
- Fix: Shares button state was not appropriately updated when switching setting or company [FS#5947] (r26416)
- Change: Use better distance metric for link graph [FS#5941] (r26411)
This commit is contained in:
frosch
2014-04-13 10:47:39 +00:00
parent 9d2f06c42c
commit 42c7cb38fa
12 changed files with 28 additions and 22 deletions

View File

@@ -273,6 +273,8 @@ struct GoalListWindow : public Window {
{
this->DrawWidgets();
if (this->IsShaded()) return; // Don't draw anything when the window is shaded.
/* Calculate progress column width. */
uint max_width = 0;
Goal *s;