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/mapfile.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/model/mapfile.cc b/src/model/mapfile.cc
index 922e2db..585f13b 100644
--- a/src/model/mapfile.cc
+++ b/src/model/mapfile.cc
@@ -403,6 +403,12 @@ void MapFile::make_brushface(Plane *face)
color = new math::Color(0.25, 0.25, 0.25);
} else if (face->texture() == "colors/black") {
color = new math::Color(0, 0, 0);
+ } else if (face->texture() == "colors/red") {
+ color = new math::Color(1, 0, 0);
+ } else if (face->texture() == "colors/green") {
+ color = new math::Color(0, 1, 0);
+ } else if (face->texture() == "colors/blue") {
+ color = new math::Color(0, 0, 1);
} else if (face->texture() == "common/entity") {
color = 0;
} else