… | |
… | |
609 | if (!arch) |
609 | if (!arch) |
610 | return; |
610 | return; |
611 | |
611 | |
612 | tmp = arch_to_object (arch); |
612 | tmp = arch_to_object (arch); |
613 | |
613 | |
614 | if ((floor->above) && (!can_build_over (pl->map, tmp, x, y))) |
614 | if (!floor->flag[FLAG_IS_BUILDABLE] || (floor->above) && (!can_build_over (pl->map, tmp, x, y))) |
615 | /* Floor has something on top that interferes with building */ |
615 | /* Floor has something on top that interferes with building */ |
616 | { |
616 | { |
617 | new_draw_info (NDI_UNIQUE, 0, pl, "You can't build here."); |
617 | new_draw_info (NDI_UNIQUE, 0, pl, "You can't build here."); |
618 | return; |
618 | return; |
619 | } |
619 | } |