forked from townforge/townforge
game: fix estimated land tax in building settings window
This commit is contained in:
parent
b2a77a2b39
commit
6f24dc5dc7
@ -395,7 +395,7 @@ void UIBuildingSettingsDialog::SetBudget(const Map *map, const GameState *gameSt
|
||||
if (!flag->active)
|
||||
den += shares;
|
||||
uint64_t land_tax;
|
||||
if (cc::get_land_tax(flag->x0, flag->y0, flag->x1, flag->y1, flag->economic_power, land_tax))
|
||||
if (cc::get_land_tax(flag->x0, flag->y0, flag->x1, flag->y1, economic_power, land_tax))
|
||||
AddRow(rightLayout, "Land tax", cryptonote::print_money(land_tax).c_str());
|
||||
if (den > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user