mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places
This commit is contained in:
parent
fcfd0f1c76
commit
15a5a1a95b
@ -662,7 +662,7 @@ static void UpdateStationAcceptance(Station *st, bool show_msg)
|
||||
}
|
||||
|
||||
/* redraw the station view since acceptance changed */
|
||||
InvalidateWindowWidget(WC_STATION_VIEW, st->index, 4);
|
||||
InvalidateWindowWidget(WC_STATION_VIEW, st->index, 5);
|
||||
}
|
||||
|
||||
static void UpdateStationSignCoord(Station *st)
|
||||
@ -2535,7 +2535,7 @@ static void UpdateStationRating(Station *st)
|
||||
if (waiting_changed) {
|
||||
InvalidateWindow(WC_STATION_VIEW, index);
|
||||
} else {
|
||||
InvalidateWindowWidget(WC_STATION_VIEW, index, 5);
|
||||
InvalidateWindowWidget(WC_STATION_VIEW, index, 6);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user