game: fix estimated land tax in building settings window

This commit is contained in:
Crypto City 2019-11-08 23:50:45 +00:00
parent b2a77a2b39
commit 6f24dc5dc7

View File

@ -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)
{