* Shows the Select Armor window. * @param action Pointer to an action. */
| 644 | * @param action Pointer to an action. |
| 645 | */ |
| 646 | void SoldierInfoState::btnArmorClick(Action *) |
| 647 | { |
| 648 | if (!_soldier->getCraft() || (_soldier->getCraft() && _soldier->getCraft()->getStatus() != "STR_OUT")) |
| 649 | { |
| 650 | _game->pushState(new SoldierArmorState(_game, _base, _soldierId)); |
| 651 | } |
| 652 | } |
| 653 | |
| 654 | /** |
| 655 | * Shows the Sack Soldier window. |