Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/model/map.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/model/map.cc b/src/model/map.cc
index 8217f1b..b4a747c 100644
--- a/src/model/map.cc
+++ b/src/model/map.cc
@@ -443,7 +443,9 @@ void Map::make_brushface(Plane *face)
material->set_color(color);
material->set_flags(Material::Bright);
- con_warn << "Unkown material '" << face->texture() << "'" << std::endl;
+ // don't show material warnings on a dedicated server
+ if (VertexArray::instance())
+ con_warn << "Unkown material '" << face->texture() << "'" << std::endl;
}
// find the list if primitives for the current material, allocate a new one if necessary