branch | noai |
changeset 9746 | e4ab7ea8d897 |
parent 9745 | fb2454d70f37 |
child 9820 | 8c116d4c6033 |
9745:fb2454d70f37 | 9746:e4ab7ea8d897 |
---|---|
12 } |
12 } |
13 } |
13 } |
14 |
14 |
15 AIVehicleList_Station::AIVehicleList_Station(StationID station_id) |
15 AIVehicleList_Station::AIVehicleList_Station(StationID station_id) |
16 { |
16 { |
17 this->Clear(); |
|
18 if (!AIStation::IsValidStation(station_id)) return; |
17 if (!AIStation::IsValidStation(station_id)) return; |
19 |
18 |
20 Vehicle *v; |
19 Vehicle *v; |
21 |
20 |
22 FOR_ALL_VEHICLES(v) { |
21 FOR_ALL_VEHICLES(v) { |