mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
(svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places
This commit is contained in:
parent
c65c14f06b
commit
079482f0a2
@ -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