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
@@ -405,7 +405,7 @@ static constexpr float kWindowScrollLocations[][2] = {
// rct2: 0x006E7C76
if (w.viewportTargetSprite.IsNull())
{
if (!(w.flags.has(WindowFlag::noScrolling)))
if (!w.flags.has(WindowFlag::noScrolling))
{
w.savedViewPos = screenCoords
- ScreenCoordsXY{ static_cast<int32_t>(w.viewport->ViewWidth() * kWindowScrollLocations[i][0]),