Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Jan 25, 2024
1 parent 0eafa4f commit f957160
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/units/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
See the COPYING file for more details.
*/

#include "display.hpp"
#include "log.hpp"
#include "units/id.hpp"
#include "units/unit.hpp"
Expand Down Expand Up @@ -126,6 +127,8 @@ unit_map::umap_retval_pair_t unit_map::move(const map_location& src, const map_l
return std::pair(make_unit_iterator(uit), false);
}

display::get_singleton()->invalidate(src);

self_check();

return std::pair(make_unit_iterator(uit), true);
Expand Down

0 comments on commit f957160

Please sign in to comment.