From a8a92cee21e1e5fba3d312bf3043b4e1b96d5576 Mon Sep 17 00:00:00 2001 From: Evan Goers Date: Sun, 8 Jan 2012 11:16:35 +0000 Subject: Implemented zone ambient color usage in renderer. --- src/game/intro/intro.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/game/intro') 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(); } -- cgit v1.2.3