Add default return value to MaterialInfo::matches

develop
Quietust 2012-01-11 10:50:38 -06:00
parent 5173be649f
commit 6d2ce7b8a9
1 changed files with 1 additions and 0 deletions

@ -355,6 +355,7 @@ bool MaterialInfo::matches(const df::dfhack_material_category &cat)
TEST(glass, IS_GLASS); TEST(glass, IS_GLASS);
if (cat.bits.clay && linear_index(material->reaction_product.id, std::string("FIRED_MAT")) >= 0) if (cat.bits.clay && linear_index(material->reaction_product.id, std::string("FIRED_MAT")) >= 0)
return true; return true;
return false;
} }
#undef TEST #undef TEST