(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate

This commit is contained in:
rubidium
2009-05-22 20:18:45 +00:00
parent c882248348
commit d37b840cf3
9 changed files with 68 additions and 59 deletions

View File

@@ -73,7 +73,7 @@ struct RoadStop : RoadStopPool::PoolItem<&_roadstop_pool> {
bool IsEntranceBusy() const;
void SetEntranceBusy(bool busy);
RoadStop *GetNextRoadStop(const Vehicle *v) const;
RoadStop *GetNextRoadStop(const struct RoadVehicle *v) const;
};
struct StationSpecList {
@@ -113,7 +113,7 @@ public:
return type == ROADSTOP_BUS ? bus_stops : truck_stops;
}
RoadStop *GetPrimaryRoadStop(const Vehicle *v) const;
RoadStop *GetPrimaryRoadStop(const struct RoadVehicle *v) const;
const AirportFTAClass *Airport() const
{