Skip to content

Commit

Permalink
wb: fix moved becoming invalid after recruit is executed
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed May 4, 2018
1 parent 7a56448 commit 06118bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/whiteboard/recruit.cpp
Expand Up @@ -85,6 +85,9 @@ recruit::recruit(const config& cfg, bool hidden)

void recruit::init()
{
temp_unit_->set_movement(0, true);
temp_unit_->set_attacks(0);

fake_unit_->set_location(recruit_hex_);
fake_unit_->set_movement(0, true);
fake_unit_->set_attacks(0);
Expand Down

0 comments on commit 06118bb

Please sign in to comment.