Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Goers <mega@osirion.org>2012-01-08 11:16:35 +0000
committerEvan Goers <mega@osirion.org>2012-01-08 11:16:35 +0000
commita8a92cee21e1e5fba3d312bf3043b4e1b96d5576 (patch)
treeb3a4d28ff4b988eb64d58536fae4b54bdf22b47e /src/game/intro
parent848310a1521d81fd0500628daf33d2cc84b67e62 (diff)
Implemented zone ambient color usage in renderer.
Diffstat (limited to 'src/game/intro')
-rw-r--r--src/game/intro/intro.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/intro/intro.cc b/src/game/intro/intro.cc
index 25e4d59..f5f7ab2 100644
--- a/src/game/intro/intro.cc
+++ b/src/game/intro/intro.cc
@@ -93,9 +93,12 @@ bool Intro::load_world()
if (inifile.got_key_string("label", strval)) {
zone->set_label(strval);
- } else if (inifile.got_key_string("sky", strval)) {
+ } else if (inifile.got_key_string("sky", strval)) {
zone->set_sky(strval);
+ } else if (inifile.got_key_color("ambient", color)) {
+ zone->set_ambient_color(color);
+
} else if (inifile.got_key()) {
inifile.unknown_key();
}