diff options
author | Stijn Buys <ingar@osirion.org> | 2011-08-07 12:14:36 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-08-07 12:14:36 +0000 |
commit | 54dbdc1be0a7eda45f7f8209388cf26a5241c688 (patch) | |
tree | 081f7ee85bcc85642491da30a32d41d9339fdac3 /src | |
parent | 33fabb093ff391dda41b04f6a6634c940e134e9c (diff) |
Corrected flag reporting in the list_material function.
Diffstat (limited to 'src')
-rw-r--r-- | src/model/material.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |