mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 22:25:08 +00:00
Preferences: default to 100% reachmap opacity
This commit is contained in:
parent
69f9512968
commit
be229defd6
@ -602,7 +602,7 @@ void prefs::set_reach_map_enemy_color(const std::string& color_id) {
|
||||
|
||||
int prefs::reach_map_border_opacity()
|
||||
{
|
||||
return preferences_[prefs_list::reach_map_border_opacity].to_int();
|
||||
return preferences_[prefs_list::reach_map_border_opacity].to_int(100); // 100% by default
|
||||
}
|
||||
|
||||
void prefs::set_reach_map_border_opacity(const int new_opacity)
|
||||
@ -612,7 +612,7 @@ void prefs::set_reach_map_border_opacity(const int new_opacity)
|
||||
|
||||
int prefs::reach_map_tint_opacity()
|
||||
{
|
||||
return preferences_[prefs_list::reach_map_tint_opacity].to_int();
|
||||
return preferences_[prefs_list::reach_map_tint_opacity].to_int(100); // 100% by default
|
||||
}
|
||||
|
||||
void prefs::set_reach_map_tint_opacity(const int new_opacity)
|
||||
|
Loading…
x
Reference in New Issue
Block a user