diff options
author | terkhen <terkhen@openttd.org> | 2011-01-19 18:44:13 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-01-19 18:44:13 +0000 |
commit | b5468e7a80670a45305b1af63d8f39d8034fa366 (patch) | |
tree | e66da9154edf22820edfc56573eded8bda90b73f /src/station_cmd.cpp | |
parent | 613743538d3946888660a5dd413e463f2052d6a9 (diff) | |
download | openttd-b5468e7a80670a45305b1af63d8f39d8034fa366.tar.xz |
(svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names.
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index fc6faffe8..68f5c14ef 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -2987,7 +2987,7 @@ static VehicleEnterTileStatus VehicleEnter_Station(Vehicle *v, TileIndex tile, i } else if (v->type == VEH_ROAD) { RoadVehicle *rv = RoadVehicle::From(v); if (rv->state < RVSB_IN_ROAD_STOP && !IsReversingRoadTrackdir((Trackdir)rv->state) && rv->frame == 0) { - if (IsRoadStop(tile) && rv->IsRoadVehFront()) { + if (IsRoadStop(tile) && rv->IsFrontEngine()) { /* Attempt to allocate a parking bay in a road stop */ return RoadStop::GetByTile(tile, GetRoadStopType(tile))->Enter(rv) ? VETSB_CONTINUE : VETSB_CANNOT_ENTER; } |