mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 06:54:22 +00:00
Update the minimap mid-move so it looks better if an event fires.
This commit is contained in:
parent
460f4517c7
commit
d6e02ed4f3
@ -3040,6 +3040,7 @@ public:
|
||||
|
||||
// Show this move.
|
||||
animator.continue_movement(move_it_, step_to);
|
||||
disp.redraw_minimap();
|
||||
}
|
||||
}
|
||||
|
||||
@ -3060,8 +3061,12 @@ public:
|
||||
std::set<map_location> petrified_units;
|
||||
|
||||
// Clear the fog.
|
||||
fog_changed_ |= clear_shroud_unit(hex, *move_it_, *current_team_, jamming_,
|
||||
NULL, &newly_seen_units, &petrified_units);
|
||||
if ( clear_shroud_unit(hex, *move_it_, *current_team_, jamming_,
|
||||
NULL, &newly_seen_units, &petrified_units) )
|
||||
{
|
||||
invalidate_after_clearing_shroud();
|
||||
fog_changed_ = true;
|
||||
}
|
||||
|
||||
// Raise sighted events.
|
||||
const game_events::entity_location viewer(*move_it_, hex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user