Fixed unit still displaying their old image after transforming.

This commit is contained in:
Guillaume Melquiond 2011-01-22 13:16:10 +00:00
parent 0c6e23f53b
commit 691e422a5d

View file

@ -876,7 +876,9 @@ void unit::advance_to(const config &old_cfg, const unit_type *t,
set_game_context();
refreshing_ = false;
refreshing_ = false;
delete anim_;
anim_ = NULL;
}
const unit_type* unit::type() const