Rename local ToD lighting WML key...
...in preference to reset the setting to the new default. This also better reflects the option's name.
This commit is contained in:
parent
49713583b5
commit
a4fc0af7e2
3 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@
|
|||
[/advanced_preference]
|
||||
|
||||
[advanced_preference]
|
||||
field=local_tod_light
|
||||
field=local_tod_lighting
|
||||
name=_"Local time of day area lighting"
|
||||
type=boolean
|
||||
default=yes
|
||||
|
|
|
@ -1926,7 +1926,7 @@ void display::draw(bool update,bool force) {
|
|||
return;
|
||||
}
|
||||
|
||||
local_tod_light_ = has_time_area() && preferences::get("local_tod_light", true);
|
||||
local_tod_light_ = has_time_area() && preferences::get("local_tod_lighting", true);
|
||||
|
||||
draw_init();
|
||||
pre_draw();
|
||||
|
|
|
@ -625,7 +625,7 @@ protected:
|
|||
/** Local cache for preferences::animate_map, since it is constantly queried. */
|
||||
bool animate_map_;
|
||||
|
||||
/** Local cache for preferences "local_tod_light" */
|
||||
/** Local cache for preferences "local_tod_lighting" */
|
||||
bool local_tod_light_;
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Reference in a new issue