From 9c0944aa09b1d36a60d81c41088a906064086bfb Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 21 Jun 2007 17:25:17 +0000 Subject: (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. --- src/network/network_gui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/network') diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 112efdf73..10fa2b4dd 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -894,15 +894,15 @@ static void NetworkLobbyWindowWndProc(Window *w, WindowEvent *e) 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; -- cgit v1.2.3-70-g09d2