summaryrefslogtreecommitdiffstats
path: root/src/ui/displayinfo.cpp
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-02-28 21:26:09 +0100
committerPiotr Dziwinski <piotrdz@gmail.com>2013-02-28 22:06:22 +0100
commit08c646bb929c7bc98b005521b6e0c14428f651d0 (patch)
treebd708ad596274bea8c387122bcd9fceadf620373 /src/ui/displayinfo.cpp
parentb361d27d332591c59b5f8613fbf724d82872b877 (diff)
downloadcolobot-08c646bb929c7bc98b005521b6e0c14428f651d0.tar.gz
colobot-08c646bb929c7bc98b005521b6e0c14428f651d0.tar.bz2
colobot-08c646bb929c7bc98b005521b6e0c14428f651d0.zip
Fixed stupid error, tweaked ambient light colors
* fixed stupid error in light manager * tweaked ambient light colors to 0.1 of diffuse; colors should not be oversaturated now
Diffstat (limited to 'src/ui/displayinfo.cpp')
-rw-r--r--src/ui/displayinfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/displayinfo.cpp b/src/ui/displayinfo.cpp
index a9e754f..9a31956 100644
--- a/src/ui/displayinfo.cpp
+++ b/src/ui/displayinfo.cpp
@@ -455,6 +455,7 @@ void CDisplayInfo::StartDisplayInfo(std::string filename, int index, bool bSoluc
}
light.type = Gfx::LIGHT_DIRECTIONAL;
+ light.ambient = Gfx::Color(0.0f, 0.0f, 0.0f);
light.diffuse = Gfx::Color(1.0f, 0.1f, 0.1f);
light.direction = Math::Vector(1.0f, 0.0f, 1.0f);