Quick fix for undos no longer being blocked by fog/shroud clearing.
This commit is contained in:
parent
65f380433a
commit
68b1644af2
1 changed files with 1 additions and 1 deletions
|
@ -3432,7 +3432,7 @@ size_t move_unit(move_unit_spectator *move_spectator,
|
|||
move_spectator->set_unit(ui);
|
||||
|
||||
if ( undo_stack != NULL ) {
|
||||
if ( stops.event_mutated || stops.block_undo || ui == units.end() ||
|
||||
if ( stops.event_mutated || stops.block_undo || stops.display_changed || ui == units.end() ||
|
||||
(resources::whiteboard->is_active() && resources::whiteboard->should_clear_undo()) )
|
||||
{
|
||||
apply_shroud_changes(*undo_stack, team_num + 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue