Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-08-07 12:14:36 +0000
committerStijn Buys <ingar@osirion.org>2011-08-07 12:14:36 +0000
commit54dbdc1be0a7eda45f7f8209388cf26a5241c688 (patch)
tree081f7ee85bcc85642491da30a32d41d9339fdac3
parent33fabb093ff391dda41b04f6a6634c940e134e9c (diff)
Corrected flag reporting in the list_material function.
-rw-r--r--src/model/material.cc2
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) {