forked from mirror/OpenTTD
(svn r1770) -Fix: Hopefully last pieces of code that are containing a station-id
(and should be an uint16, not uint8)
This commit is contained in:
@@ -432,7 +432,7 @@ static void DrawStationViewWindow(Window *w)
|
||||
|
||||
y = 77;
|
||||
for(i=0; i!=NUM_CARGO; i++) {
|
||||
if (st->goods[i].enroute_from != 0xFF) {
|
||||
if (st->goods[i].enroute_from != INVALID_STATION) {
|
||||
SetDParam(0, _cargoc.names_s[i]);
|
||||
SetDParam(2, st->goods[i].rating * 101 >> 8);
|
||||
SetDParam(1, STR_3035_APPALLING + (st->goods[i].rating >> 5));
|
||||
|
Reference in New Issue
Block a user