(svn r21309) -Fix: second parameter of SetupSubsidyDecodeParam() is a bool, so use a bool when calling the function
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user