diff options
author | belugas <belugas@openttd.org> | 2008-08-06 04:01:07 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2008-08-06 04:01:07 +0000 |
commit | 6532897b5ae411c716cfd81586c2a662f2ad1ac0 (patch) | |
tree | b0dcb83fe0344d4ea865874cdd465a336e47ca77 /src/industry_gui.cpp | |
parent | 7fce33fb51095cc241095149a714fa479f55f3e8 (diff) | |
download | openttd-6532897b5ae411c716cfd81586c2a662f2ad1ac0.tar.xz |
(svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 1dacf0043..0692ee187 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -536,7 +536,7 @@ public: DrawStringTruncated(x, y, STR_482B_TRANSPORTED, TC_FROMSTRING, this->widget[IVW_INFO].right - x); /* Let's put out those buttons.. */ if (IsProductionAlterable(i)) { - DrawArrowButtons(5, y, 3, (this->clicked_line == j + 1) ? this->clicked_button : 0, + DrawArrowButtons(5, y, COLOUR_YELLOW, (this->clicked_line == j + 1) ? this->clicked_button : 0, !IsProductionMinimum(i, j), !IsProductionMaximum(i, j)); } y += 10; |