diff options
author | frosch <frosch@openttd.org> | 2010-12-12 14:51:26 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-12-12 14:51:26 +0000 |
commit | cd7b23b0f43db92587de109b252496a2ee4b58c7 (patch) | |
tree | 6875bf4ff3ead0598eca654598a221fd752e6e58 /src | |
parent | 15e07279dd1add322c39ace79d80a9b6fdfdbd57 (diff) | |
download | openttd-cd7b23b0f43db92587de109b252496a2ee4b58c7.tar.xz |
(svn r21479) -Fix (r9563): Keep transparency for textual stuff in newspaper.
Diffstat (limited to 'src')
-rw-r--r-- | src/widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.cpp b/src/widget.cpp index d1e9bea85..4f2c498f2 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -1779,7 +1779,7 @@ void NWidgetViewport::Draw(const Window *w) { if (this->disp_flags & ND_NO_TRANSPARENCY) { TransparencyOptionBits to_backup = _transparency_opt; - _transparency_opt = 0; // Disable all transparency + _transparency_opt &= (1 << TO_SIGNS) | (1 << TO_LOADING); // Disable all transparency, except textual stuff w->DrawViewport(); _transparency_opt = to_backup; } else { |