From 54dbdc1be0a7eda45f7f8209388cf26a5241c688 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 7 Aug 2011 12:14:36 +0000 Subject: Corrected flag reporting in the list_material function. --- src/model/material.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/model/material.cc b/src/model/material.cc index fe596a6..2f32f6c 100644 --- a/src/model/material.cc +++ b/src/model/material.cc @@ -41,7 +41,7 @@ void Material::print() if (flags() == None) { con_print << "none"; } else { - if (flags() & Tertiary) { + if ((flags() & Tertiary) == Tertiary) { con_print << "entitythird "; } else if (flags() & Secondary) { -- cgit v1.2.3