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
@@ -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]),
|
||||
|
||||
Reference in new issue
Block a user