Fixed unit still displaying their old image after transforming.
This commit is contained in:
parent
0c6e23f53b
commit
691e422a5d
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue