forked from rosebudai/OpenRCT2-Web
Remove redundant parenthesis around negated .has FlagHolder checks
This commit is contained in:
1 parent
7f5806aa31
commit
39729f23e9
39 files changed
+92
-92
No files matched your search
@@ -1024,7 +1024,7 @@ namespace OpenRCT2::Ui::Windows
|
||||
*/
|
||||
void WindowDrawWidgets(WindowBase& w, RenderTarget& rt)
|
||||
{
|
||||
if ((w.flags.has(WindowFlag::transparent)) && !(w.flags.has(WindowFlag::noBackground)))
|
||||
if ((w.flags.has(WindowFlag::transparent)) && !w.flags.has(WindowFlag::noBackground))
|
||||
Rectangle::filter(
|
||||
rt, { w.windowPos, w.windowPos + ScreenCoordsXY{ w.width - 1, w.height - 1 } }, FilterPaletteID::palette51);
|
||||
|
||||
|
||||
Reference in new issue
Block a user