mirror of https://github.com/OpenTTD/OpenTTD
(svn r21479) -Fix (r9563): Keep transparency for textual stuff in newspaper.
parent
15e07279dd
commit
cd7b23b0f4
|
@ -1779,7 +1779,7 @@ void NWidgetViewport::Draw(const Window *w)
|
||||||
{
|
{
|
||||||
if (this->disp_flags & ND_NO_TRANSPARENCY) {
|
if (this->disp_flags & ND_NO_TRANSPARENCY) {
|
||||||
TransparencyOptionBits to_backup = _transparency_opt;
|
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();
|
w->DrawViewport();
|
||||||
_transparency_opt = to_backup;
|
_transparency_opt = to_backup;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue