diff options
author | rubidium <rubidium@openttd.org> | 2007-06-21 14:54:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-21 14:54:51 +0000 |
commit | 1b27095c830d0e9fb399cf5340d2cf58db388e21 (patch) | |
tree | ffd3d611e2ebf0a91d072c95d635063bf018b1fd /src/network | |
parent | 0d8e82b7d742b54216bf6bc8a1d3b4eafe8124ab (diff) | |
download | openttd-1b27095c830d0e9fb399cf5340d2cf58db388e21.tar.xz |
(svn r10247) -Fix (r10210): *always* call SetDParamMoney when you want to place money in some string.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index d5a3f147a..112efdf73 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; - SetDParam64(0, _network_player_info[nd->company].company_value); + SetDParamMoney(0, _network_player_info[nd->company].company_value); DrawString(x, y, STR_NETWORK_VALUE, 2); // company value y += 10; - SetDParam64(0, _network_player_info[nd->company].money); + SetDParamMoney(0, _network_player_info[nd->company].money); DrawString(x, y, STR_NETWORK_CURRENT_BALANCE, 2); // current balance y += 10; - SetDParam64(0, _network_player_info[nd->company].income); + SetDParamMoney(0, _network_player_info[nd->company].income); DrawString(x, y, STR_NETWORK_LAST_YEARS_INCOME, 2); // last year's income y += 10; |