summaryrefslogtreecommitdiff
path: root/src/engine_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2008-06-28 15:44:24 +0000
committerfrosch <frosch@openttd.org>2008-06-28 15:44:24 +0000
commitecc5d648dfefd7949b7508c724790dd452814fb2 (patch)
tree8d015d80fd5b0b32f5e85a7550aaf55daca5dd38 /src/engine_gui.cpp
parent06049563da44c1487c329f85cba77e0cf4194b7e (diff)
downloadopenttd-ecc5d648dfefd7949b7508c724790dd452814fb2.tar.xz
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
Diffstat (limited to 'src/engine_gui.cpp')
-rw-r--r--src/engine_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine_gui.cpp b/src/engine_gui.cpp
index 0461520c4..fbe744c2f 100644
--- a/src/engine_gui.cpp
+++ b/src/engine_gui.cpp
@@ -202,7 +202,7 @@ void DrawNewsNewVehicleAvail(Window *w, const NewsItem *ni)
DrawStringMultiCenter(w->width >> 1, 57, STR_NEW_VEHICLE_TYPE, w->width - 2);
dei->engine_proc(w->width >> 1, 88, engine, 0);
- GfxFillRect(25, 56, w->width - 56, 112, PALETTE_TO_STRUCT_GREY | (1 << USE_COLORTABLE));
+ GfxFillRect(25, 56, w->width - 56, 112, PALETTE_TO_STRUCT_GREY, FILLRECT_RECOLOR);
dei->info_proc(engine, w->width >> 1, 129, w->width - 52);
}