(svn r21309) -Fix: second parameter of SetupSubsidyDecodeParam() is a bool, so use a bool when calling the function

This commit is contained in:
glx
2010-11-24 01:08:49 +00:00
parent bb02e30a37
commit 4231154bb4
2 changed files with 6 additions and 6 deletions

View File

@@ -174,7 +174,7 @@ struct SubsidyListWindow : Window {
if (!s->IsAwarded()) {
if (IsInsideMM(pos, 0, cap)) {
/* Displays the two offered towns */
SetupSubsidyDecodeParam(s, 1);
SetupSubsidyDecodeParam(s, true);
SetDParam(7, _date - ymd.day + s->remaining * 32);
DrawString(x, right, y + pos * FONT_HEIGHT_NORMAL, STR_SUBSIDIES_OFFERED_FROM_TO);
}
@@ -197,7 +197,7 @@ struct SubsidyListWindow : Window {
FOR_ALL_SUBSIDIES(s) {
if (s->IsAwarded()) {
if (IsInsideMM(pos, 0, cap)) {
SetupSubsidyDecodeParam(s, 1);
SetupSubsidyDecodeParam(s, true);
SetDParam(7, s->awarded);
SetDParam(8, _date - ymd.day + s->remaining * 32);