diff options
author | frosch <frosch@openttd.org> | 2011-04-29 20:47:36 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-04-29 20:47:36 +0000 |
commit | 1ffd720f81d917126e1f15ef2b8edac21484adcf (patch) | |
tree | 17768d42ca1045b8f265214f147cdde304fdeaa9 /src/news_gui.cpp | |
parent | 461b75725cb475b34142ac1e73ba9b6f40568445 (diff) | |
download | openttd-1ffd720f81d917126e1f15ef2b8edac21484adcf.tar.xz |
(svn r22383) -Codechange: Rename PALETTE_TO_STRUCT_GREY to PALETTE_NEWSPAPER as it does not belong to the other PALETTE_TO_STRUCT_xxx recolourings.
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 4289285fc..a1e05d074 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -411,7 +411,7 @@ struct NewsWindow : Window { case NTW_MGR_FACE: { const CompanyNewsInformation *cni = (const CompanyNewsInformation*)this->ni->free_data; DrawCompanyManagerFace(cni->face, cni->colour, r.left, r.top); - GfxFillRect(r.left + 1, r.top, r.left + 1 + 91, r.top + 118, PALETTE_TO_STRUCT_GREY, FILLRECT_RECOLOUR); + GfxFillRect(r.left + 1, r.top, r.left + 1 + 91, r.top + 118, PALETTE_NEWSPAPER, FILLRECT_RECOLOUR); break; } case NTW_MGR_NAME: { @@ -437,7 +437,7 @@ struct NewsWindow : Window { assert(this->ni->reftype1 == NR_ENGINE); EngineID engine = this->ni->ref1; DrawVehicleEngine(r.left, r.right, (r.left + r.right) / 2, (r.top + r.bottom) / 2, engine, GetEnginePalette(engine, _local_company)); - GfxFillRect(r.left, r.top, r.right, r.bottom, PALETTE_TO_STRUCT_GREY, FILLRECT_RECOLOUR); + GfxFillRect(r.left, r.top, r.right, r.bottom, PALETTE_NEWSPAPER, FILLRECT_RECOLOUR); break; } case NTW_VEH_INFO: { |