summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-05-04 17:45:16 +0000
committerfrosch <frosch@openttd.org>2011-05-04 17:45:16 +0000
commit22286bd7b6ece453e449f9b9f9f360484925457c (patch)
tree6827e0912689694ba65e13df1b125458458faaa5 /src/rail_gui.cpp
parentbfb419f9d81bbbf9435fcc0848480f4a3e38c138 (diff)
downloadopenttd-22286bd7b6ece453e449f9b9f9f360484925457c.tar.xz
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r--src/rail_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index 36576a3ca..aa0f19fef 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -1163,7 +1163,7 @@ public:
const StationSpec *statspec = StationClass::Get(_railstation.station_class, type);
if (statspec != NULL && HasBit(statspec->callback_mask, CBM_STATION_AVAIL) &&
GB(GetStationCallback(CBID_STATION_AVAILABILITY, 0, 0, statspec, NULL, INVALID_TILE), 0, 8) == 0) {
- GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, 0, FILLRECT_CHECKER);
+ GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.bottom - 1, GREY_SCALE(0), FILLRECT_CHECKER);
}
/* Set up a clipping area for the station preview. */