|
|
@ -34,9 +34,10 @@ local function get_selection_size_limits()
|
|
|
|
or btype == df.building_type.RoadPaved
|
|
|
|
or btype == df.building_type.RoadPaved
|
|
|
|
or btype == df.building_type.RoadDirt then
|
|
|
|
or btype == df.building_type.RoadDirt then
|
|
|
|
return {w=31, h=31}
|
|
|
|
return {w=31, h=31}
|
|
|
|
elseif btype == df.building_type.AxleHorizontal
|
|
|
|
elseif btype == df.building_type.AxleHorizontal then
|
|
|
|
or btype == df.building_type.Rollers then
|
|
|
|
|
|
|
|
return uibs.direction == 1 and {w=1, h=31} or {w=31, h=1}
|
|
|
|
return uibs.direction == 1 and {w=1, h=31} or {w=31, h=1}
|
|
|
|
|
|
|
|
elseif btype == df.building_type.Rollers then
|
|
|
|
|
|
|
|
return (uibs.direction == 1 or uibs.direction == 3) and {w=31, h=1} or {w=1, h=31}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|