gui2/tunit_recruit: Fix unit gold check (bug #24701)

This commit is contained in:
Ignacio R. Morelle 2016-05-26 17:24:24 -04:00
parent 4213ca2747
commit bd69cb2ed3

View file

@ -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());