changeset 1266 | 9dc5638fe8cc |
parent 1093 | e8d26c7dc42f |
child 1272 | d3e09adb7736 |
--- a/station_gui.c Wed Feb 02 15:45:53 2005 +0000 +++ b/station_gui.c Wed Feb 02 16:16:43 2005 +0000 @@ -432,7 +432,7 @@ 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));