Fix build bug in automaterial.

develop
Petr Mrázek 2013-04-24 17:49:18 +02:00
parent 6a907e3584
commit c39f4bc182
1 changed files with 1 additions and 1 deletions

@ -371,7 +371,7 @@ static bool is_valid_building_site(building_site &site, bool orthogonal_check, b
return false;
df::building_constructionst *cons = get_construction_on_tile(site.pos);
if (cons && cons == construction_type::Floor)
if (cons && cons->type == construction_type::Floor)
{
site.in_open_air = true;
return true;