mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-08 23:34:15 +00:00
(svn r21479) -Fix (r9563): Keep transparency for textual stuff in newspaper.
This commit is contained in:
parent
15e07279dd
commit
cd7b23b0f4
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user