Mercurial > hg > openttd
diff src/network/network_gui.cpp @ 7002:fa75522e0249 draft
(svn r10258) -Codechange: as we are now using int64 all over the place, it's better to use int64 variables in the string generating too instead of packing them into two int32s.
-Fix: some displays of money were wrong.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Thu, 21 Jun 2007 17:25:17 +0000 (2007-06-21) |
parents | 68c101a3230f |
children | ce8b6783be37 |
line wrap: on
line diff
--- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -894,15 +894,15 @@ DrawString(x, y, STR_NETWORK_INAUGURATION_YEAR, 2); // inauguration year y += 10; - SetDParamMoney(0, _network_player_info[nd->company].company_value); + SetDParam(0, _network_player_info[nd->company].company_value); DrawString(x, y, STR_NETWORK_VALUE, 2); // company value y += 10; - SetDParamMoney(0, _network_player_info[nd->company].money); + SetDParam(0, _network_player_info[nd->company].money); DrawString(x, y, STR_NETWORK_CURRENT_BALANCE, 2); // current balance y += 10; - SetDParamMoney(0, _network_player_info[nd->company].income); + SetDParam(0, _network_player_info[nd->company].income); DrawString(x, y, STR_NETWORK_LAST_YEARS_INCOME, 2); // last year's income y += 10;