Codechange: Use EnumBitSet for RoadStopStatusFlags. (#14068)
This commit is contained in:
@@ -436,8 +436,8 @@ uint32_t Station::GetNewGRFVariable(const ResolverObject &object, uint8_t variab
|
||||
|
||||
case 0x8A: return this->had_vehicle_of_type;
|
||||
case 0xF1: return (this->airport.tile != INVALID_TILE) ? this->airport.GetSpec()->ttd_airport_type : ATP_TTDP_LARGE;
|
||||
case 0xF2: return (this->truck_stops != nullptr) ? this->truck_stops->status : 0;
|
||||
case 0xF3: return (this->bus_stops != nullptr) ? this->bus_stops->status : 0;
|
||||
case 0xF2: return (this->truck_stops != nullptr) ? this->truck_stops->status.base() : 0;
|
||||
case 0xF3: return (this->bus_stops != nullptr) ? this->bus_stops->status.base() : 0;
|
||||
case 0xF6: return this->airport.blocks.base();
|
||||
case 0xF7: return GB(this->airport.blocks.base(), 8, 8);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user