diff options
author | glx <glx@openttd.org> | 2010-11-24 01:08:49 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2010-11-24 01:08:49 +0000 |
commit | 4231154bb45342287e73f6543ebec82bd04bff49 (patch) | |
tree | 8e37f7840ee835bdecc97748cb1e64f5a8224bcc /src/subsidy_gui.cpp | |
parent | bb02e30a37b1b86bcf57cfed6e7f25b45c298e09 (diff) | |
download | openttd-4231154bb45342287e73f6543ebec82bd04bff49.tar.xz |
(svn r21309) -Fix: second parameter of SetupSubsidyDecodeParam() is a bool, so use a bool when calling the function
Diffstat (limited to 'src/subsidy_gui.cpp')
-rw-r--r-- | src/subsidy_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subsidy_gui.cpp b/src/subsidy_gui.cpp index c96fdf6a8..d6fed1c3e 100644 --- a/src/subsidy_gui.cpp +++ b/src/subsidy_gui.cpp @@ -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); |