diff options
Diffstat (limited to 'src/model/material.cc')
-rw-r--r-- | src/model/material.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/model/material.cc b/src/model/material.cc index f8ffbc0..25c1f27 100644 --- a/src/model/material.cc +++ b/src/model/material.cc @@ -81,6 +81,9 @@ void Material::print() if (flags() & FlagDecal) { con_print << "decal "; } + if (flags() & FlagBounds) { + con_print << "bounds "; + } } con_print << std::endl; @@ -279,7 +282,8 @@ void Material::load_shader(const std::string &shadername) material->set_flags(FlagOrigin); } else if (firstword.compare("decal") == 0) { material->set_flags(FlagDecal); - + } else if (firstword.compare("bounds") == 0) { + material->set_flags(FlagBounds); } else if (firstword.compare("qer_editorimage") == 0) { // keyword qer_editorimage is ignored continue; |