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/main_gui.cpp | |
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/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index a7896b62d..4c468dc1a 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -2208,7 +2208,7 @@ static void StatusBarWndProc(Window *w, WindowEvent *e) if (p != NULL) { /* Draw player money */ - SetDParam64(0, p->player_money); + SetDParamMoney(0, p->player_money); DrawStringCentered(570, 1, p->player_money >= 0 ? STR_0004 : STR_0005, 0); } |