gui2/tunit_recruit: Fix unit gold check (bug #24701)
This commit is contained in:
parent
4213ca2747
commit
bd69cb2ed3
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ void tunit_recruit::pre_show(twindow& window)
|
|||
}
|
||||
}
|
||||
|
||||
const bool can_afford = recruit->cost() < team_.gold() - wb_gold;
|
||||
const bool can_afford = recruit->cost() <= team_.gold() - wb_gold;
|
||||
|
||||
const std::string cost_string = std::to_string(recruit->cost());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue