Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-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();
}