diff options
author | rubidium <rubidium@openttd.org> | 2007-06-21 17:25:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-21 17:25:17 +0000 |
commit | d0fa4eb9de1a3ee1ebaff4d71890a2fee5e4e32d (patch) | |
tree | 9b6fd14e50d7ab0c8fb901cfad2e00092a6b0470 /src/group_gui.cpp | |
parent | a482793a32692197572e09b07df35a2b28cd6b9b (diff) | |
download | openttd-d0fa4eb9de1a3ee1ebaff4d71890a2fee5e4e32d.tar.xz |
(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.
Diffstat (limited to 'src/group_gui.cpp')
-rw-r--r-- | src/group_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/group_gui.cpp b/src/group_gui.cpp index b7b15a81e..4d19ba925 100644 --- a/src/group_gui.cpp +++ b/src/group_gui.cpp @@ -461,8 +461,8 @@ static void GroupWndProc(Window *w, WindowEvent *e) STR_PROFIT_GOOD_THIS_YEAR_GOOD_LAST_YEAR; } - SetDParamMoney(0, v->profit_this_year); - SetDParamMoney(1, v->profit_last_year); + SetDParam(0, v->profit_this_year); + SetDParam(1, v->profit_last_year); DrawString(x + 19, y2 + w->resize.step_height - 8, str, 0); if (IsValidGroupID(v->group_id)) { |