wb: fix moved becoming invalid after recruit is executed
This commit is contained in:
parent
717578b8a3
commit
8bdccca7e3
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@ recruit::recruit(const config& cfg, bool hidden)
|
||||||
|
|
||||||
void recruit::init()
|
void recruit::init()
|
||||||
{
|
{
|
||||||
|
temp_unit_->set_movement(0, true);
|
||||||
|
temp_unit_->set_attacks(0);
|
||||||
|
|
||||||
fake_unit_->set_location(recruit_hex_);
|
fake_unit_->set_location(recruit_hex_);
|
||||||
fake_unit_->set_movement(0, true);
|
fake_unit_->set_movement(0, true);
|
||||||
fake_unit_->set_attacks(0);
|
fake_unit_->set_attacks(0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue