fix advancing with variations
This commit is contained in:
parent
170b14ea1d
commit
f1fce37934
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ void unit::generate_traits()
|
|||
// Advances this unit to another type
|
||||
void unit::advance_to(const unit_type* t)
|
||||
{
|
||||
|
||||
t = &t->get_gender_unit_type(gender_).get_variation(variation_);
|
||||
reset_modifications();
|
||||
// remove old animations
|
||||
cfg_.clear_children("defend");
|
||||
|
|
Loading…
Add table
Reference in a new issue