(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.
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user