# HG changeset patch # User peter1138 # Date 1146766038 0 # Node ID aeb7aee9ef48e020ecde0d2b5f95d6a9b5d55809 # Parent ef5108781806c04a09360af4f335bf4d5dae0fd0 (svn r4736) - Newstations: use the correct value for PBS status (No PBS) diff -r ef5108781806 -r aeb7aee9ef48 newgrf_station.c --- a/newgrf_station.c Thu May 04 14:21:57 2006 +0000 +++ b/newgrf_station.c Thu May 04 18:07:18 2006 +0000 @@ -199,6 +199,7 @@ case 0x49: return 0x2110000; /* Platforms, tracks & position */ case 0x42: return 0; /* Rail type (XXX Get current type from GUI?) */ case 0x43: return _current_player; /* Station owner */ + case 0x44: return 2; /* PBS status */ case 0xFA: return _date; /* Build date */ default: return -1; } @@ -208,7 +209,7 @@ /* Calculated station variables */ case 0x42: GetRailType(object->u.station.tile) << 8; /* Rail type */ case 0x43: return st->owner; /* Station owner */ - case 0x44: return 0; /* PBS status */ + case 0x44: return 2; /* PBS status */ case 0x48: { /* Accepted cargo types */ CargoID cargo_type; uint32 value = 0;