Allow planned constructions orthogonal to stairs

develop
Anuradha Dissanayake 2013-03-16 12:26:37 +13:00
parent 5a92eabb6b
commit f69f245732
1 changed files with 3 additions and 1 deletions

@ -439,7 +439,9 @@ static bool is_valid_building_site(building_site &site, bool orthogonal_check, b
} }
else if (orthogonal_check) else if (orthogonal_check)
{ {
if (shape != tiletype_shape::RAMP && shape_basic != tiletype_shape_basic::Floor) if (shape != tiletype_shape::RAMP &&
shape_basic != tiletype_shape_basic::Floor &&
shape_basic != tiletype_shape_basic::Stair)
return false; return false;
} }
else else