diff options
author | frosch <frosch@openttd.org> | 2008-06-28 15:44:24 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2008-06-28 15:44:24 +0000 |
commit | cfdc710104648f5321e0e65676db655aa4709d0e (patch) | |
tree | 8d015d80fd5b0b32f5e85a7550aaf55daca5dd38 /src/engine_gui.cpp | |
parent | 654ea1a3105c6f300b9a1732260706c2a3c1a09a (diff) | |
download | openttd-cfdc710104648f5321e0e65676db655aa4709d0e.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.cpp | 2 |
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); } |