Skip to content

Commit

Permalink
wb: add debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf authored and Vultraz committed May 3, 2018
1 parent 6cfe64e commit c9df4bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/whiteboard/attack.cpp
Expand Up @@ -78,6 +78,7 @@ attack::attack(const config& cfg, bool hidden)
throw action::ctor_err("attack: Invalid weapon_choice_");

// Construct attack_movement_cost_
assert(get_unit());
attack_movement_cost_ = get_unit()->attacks()[weapon_choice_].movement_used();
}

Expand Down

0 comments on commit c9df4bf

Please sign in to comment.