Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/model')
-rw-r--r--src/model/material.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/material.h b/src/model/material.h
index 885831c..6d32a87 100644
--- a/src/model/material.h
+++ b/src/model/material.h
@@ -68,7 +68,7 @@ public:
* @brief returns true if the material has the requested flag set
* */
inline bool flag_is_set(const SurfaceFlags surfaceflag) const {
- return ((material_flags & surfaceflag) == surfaceflag);
+ return ((material_flags & (unsigned int) surfaceflag) == surfaceflag);
}
/**