summaryrefslogtreecommitdiff
path: root/src/object_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-05-06 21:13:29 +0000
committerfrosch <frosch@openttd.org>2011-05-06 21:13:29 +0000
commit5e449b8fae1f5f9941a385a49eb1e958788809c2 (patch)
tree25417fb45b1166841824fccffbbd217810246bf6 /src/object_gui.cpp
parent4b0a2fbe293acbfe138b788701b6e71c5356d0e8 (diff)
downloadopenttd-5e449b8fae1f5f9941a385a49eb1e958788809c2.tar.xz
(svn r22429) -Add: some constants for specific palette colours used in the GUI.
Diffstat (limited to 'src/object_gui.cpp')
-rw-r--r--src/object_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object_gui.cpp b/src/object_gui.cpp
index 778967713..b04463d83 100644
--- a/src/object_gui.cpp
+++ b/src/object_gui.cpp
@@ -206,7 +206,7 @@ public:
if (spec == NULL) break;
if (!spec->IsAvailable()) {
- GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, GREY_SCALE(0), FILLRECT_CHECKER);
+ GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, PC_BLACK, FILLRECT_CHECKER);
}
DrawPixelInfo tmp_dpi;
/* Set up a clipping area for the preview. */