mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 12:59:04 +00:00
Enable local ToD light option by default.
This will also enable it for 1.9 users who never touched that settings, because they only have an empty string in their preferences file. Only users having toggled it twice (from 'no' to 'yes' then 'no' again) will keep the 'no' state, and I assume they really wanted that.
This commit is contained in:
parent
9d256d9dee
commit
04f02d9140
@ -39,7 +39,7 @@
|
||||
name=_"Local time of day area lighting"
|
||||
description=_"Custom lighting for local time of day areas (uses more memory)"
|
||||
type=boolean
|
||||
default=no
|
||||
default=yes
|
||||
[/advanced_preference]
|
||||
|
||||
[advanced_preference]
|
||||
|
@ -1926,7 +1926,7 @@ void display::draw(bool update,bool force) {
|
||||
return;
|
||||
}
|
||||
|
||||
local_tod_light_ = has_time_area() && preferences::get("local_tod_light", false);
|
||||
local_tod_light_ = has_time_area() && preferences::get("local_tod_light", true);
|
||||
|
||||
draw_init();
|
||||
pre_draw();
|
||||
|
Loading…
x
Reference in New Issue
Block a user