mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-16 10:20:30 +00:00
Comment out an unused parameter and remove an unused one.
This commit is contained in:
parent
d5303889e9
commit
8ea8ffe396
@ -89,7 +89,7 @@ void editor_action_area::add_locations(const std::set<gamemap::location>& locs)
|
||||
{
|
||||
area_.insert(locs.begin(), locs.end());
|
||||
}
|
||||
void editor_action_area::extend(const editor_map& map, const std::set<gamemap::location>& locs)
|
||||
void editor_action_area::extend(const editor_map& /*map*/, const std::set<gamemap::location>& locs)
|
||||
{
|
||||
area_.insert(locs.begin(), locs.end());
|
||||
}
|
||||
|
@ -78,7 +78,6 @@ image::TYPE editor_display::get_image_type(const gamemap::location& loc)
|
||||
void editor_display::draw_hex(const gamemap::location& loc)
|
||||
{
|
||||
const bool on_map = map_.on_board(loc);
|
||||
const bool is_shrouded = shrouded(loc);
|
||||
int xpos = get_location_x(loc);
|
||||
int ypos = get_location_y(loc);
|
||||
int drawing_order = gamemap::get_drawing_order(loc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user