Skip to content

Commit

Permalink
Fix building of road stops on town-owned one-way roads
Browse files Browse the repository at this point in the history
  • Loading branch information
JGRennison committed Jul 11, 2019
1 parent dbc5f1b commit 2164eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/station_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ static CommandCost CheckFlatLandRoadStop(TileArea tile_area, DoCommandFlag flags
if (RoadTypeIsRoad(rt) && !HasPowerOnRoad(rt, road_rt)) return_cmd_error(STR_ERROR_NO_SUITABLE_ROAD);

if (GetDisallowedRoadDirections(cur_tile) != DRD_NONE) {
CommandCost ret = CheckOwnership(road_owner);
CommandCost ret = CheckOwnership(road_owner, cur_tile);
if (ret.Failed()) return ret;
}

Expand Down

0 comments on commit 2164eb4

Please sign in to comment.