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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user