diff options
author | Evan Goers <mega@osirion.org> | 2012-01-08 11:16:35 +0000 |
---|---|---|
committer | Evan Goers <mega@osirion.org> | 2012-01-08 11:16:35 +0000 |
commit | a8a92cee21e1e5fba3d312bf3043b4e1b96d5576 (patch) | |
tree | b3a4d28ff4b988eb64d58536fae4b54bdf22b47e /src/game/intro | |
parent | 848310a1521d81fd0500628daf33d2cc84b67e62 (diff) |
Implemented zone ambient color usage in renderer.
Diffstat (limited to 'src/game/intro')
-rw-r--r-- | src/game/intro/intro.cc | 5 |
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(); } |