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:
gfgtdf 2019-08-16 15:05:53 +02:00
parent ce5696f334
commit f4e7f417e4

View file

@ -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();