diff options
Diffstat (limited to 'src/model')
-rw-r--r-- | src/model/mapfile.cc | 6 |
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 |