diff options
author | peter1138 <peter1138@openttd.org> | 2019-03-09 18:20:03 +0000 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2019-03-10 09:20:11 +0000 |
commit | 811bf2262019b855c9005793e5efc725ac77a7b3 (patch) | |
tree | 51e37f4cafa186c4a05331fa45fb7515497467d0 /src/newgrf_gui.cpp | |
parent | cc5f17561571b45b52e7406fb66051446f8cceb4 (diff) | |
download | openttd-811bf2262019b855c9005793e5efc725ac77a7b3.tar.xz |
Codechange: Use Colours type instead of byte.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 5f32b5bad..23c037d10 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -578,7 +578,7 @@ public: return true; } - void Draw(int left, int right, int top, int bottom, bool sel, int bg_colour) const + void Draw(int left, int right, int top, int bottom, bool sel, Colours bg_colour) const { DrawString(left + 2, right + 2, top, _grf_preset_list[this->result], sel ? TC_WHITE : TC_BLACK); } |