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/map.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/model/map.cc b/src/model/map.cc
index 405ce98..ad569eb 100644
--- a/src/model/map.cc
+++ b/src/model/map.cc
@@ -462,21 +462,21 @@ void Map::make_brushface(Plane *face)
} else if (face->texture().compare("colors/blue") == 0) {
color.assign(0, 0, 1);
- } else if ((face->texture().compare("common/entity") == 0) || (face->texture().compare("common/primary") == 0)) {
+ } else if (face->texture().compare("common/entity") == 0) {
material |= Material::Primary;
- } else if (face->texture().compare("common/primary_dark") == 0) {
+ } else if (face->texture().compare("common/entity_dark") == 0) {
material |= Material::Primary;
material |= Material::Dark;
- } else if (face->texture().compare("common/secundary") == 0) {
+ } else if (face->texture().compare("common/entity_second") == 0) {
material |= Material::Secondary;
- } else if (face->texture().compare("common/secundary_dark") == 0) {
+ } else if (face->texture().compare("common/entity_second_dark") == 0) {
material |= Material::Secondary;
material |= Material::Dark;
- } else if (face->texture().compare("common/tertiary") == 0) {
+ } else if (face->texture().compare("common/entity_third") == 0) {
material |= Material::Tertiary;
- } else if (face->texture().compare("common/tertiary_dark") == 0) {
+ } else if (face->texture().compare("common/entity_thirdy_dark") == 0) {
material |= Material::Tertiary;
material |= Material::Dark;
}