Merge branch 'master' into jgrpp-nrt
# Conflicts: # config.lib # src/core/bitmath_func.hpp # src/lang/korean.txt # src/main_gui.cpp # src/order_gui.cpp # src/script/api/script_object.cpp # src/station_cmd.cpp # src/video/cocoa/wnd_quartz.mm
This commit is contained in:
@@ -1058,8 +1058,8 @@ 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, cur_tile);
|
||||
if (GetDisallowedRoadDirections(cur_tile) != DRD_NONE && road_owner != OWNER_TOWN) {
|
||||
CommandCost ret = CheckOwnership(road_owner);
|
||||
if (ret.Failed()) return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user