mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 07:23:34 +00:00
Indentation and comment clean up.
This commit is contained in:
parent
45333d50b5
commit
c311e6c719
@ -499,9 +499,7 @@ hotkey::ACTION_STATE editor_controller::get_action_state(hotkey::HOTKEY_COMMAND
|
||||
std::advance(it, index);
|
||||
const std::vector<time_of_day>& times1 = it->second.second;
|
||||
const std::vector<time_of_day>& times2 = context_manager_->get_map_context().get_time_manager()->times();
|
||||
return (times1 == times2) ? ACTION_SELECTED : ACTION_DESELECTED;
|
||||
//TODO
|
||||
//return ACTION_STATELESS;
|
||||
return (times1 == times2) ? ACTION_SELECTED : ACTION_DESELECTED;
|
||||
}
|
||||
}
|
||||
return ACTION_ON;
|
||||
|
Loading…
x
Reference in New Issue
Block a user