Remove redundant parenthesis around negated .has FlagHolder checks

This commit is contained in:
matheusvb3 authored and GitHub committed 2025-12-23 14:19:37 +01:00
1 parent 7f5806aa31
commit 39729f23e9
39 files changed
+92 -92

No files matched your search

+1 -1
View File
@@ -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);