reset ellipse on unit advancing
same reason as for the overlays= change, in particular this fixes remove_object of objects that set ellipses.
This commit is contained in:
parent
ce5696f334
commit
f4e7f417e4
1 changed files with 1 additions and 0 deletions
|
@ -922,6 +922,7 @@ void unit::advance_to(const unit_type& u_type, bool use_traits)
|
|||
is_healthy_ = false;
|
||||
image_mods_.clear();
|
||||
overlays_.clear();
|
||||
ellipse_.reset();
|
||||
|
||||
// Clear modification-related caches
|
||||
modification_descriptions_.clear();
|
||||
|
|
Loading…
Add table
Reference in a new issue