mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 16:46:03 +00:00
Whiteboard: highlight arrow before move execution.
This commit is contained in:
parent
b509e0c28a
commit
b6160bf35e
@ -75,6 +75,8 @@ void move::accept(visitor& v)
|
||||
|
||||
void move::execute()
|
||||
{
|
||||
arrow_->set_alpha(ALPHA_HIGHLIGHT);
|
||||
|
||||
static const bool show_move = false;
|
||||
map_location* next_unit = NULL; //Set to something else than null to get final unit location in this out parameter
|
||||
::move_unit(NULL, arrow_->get_path(), &recorder, resources::undo_stack, show_move, next_unit,
|
||||
|
Loading…
x
Reference in New Issue
Block a user