1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Simplify + clang-format correction

This commit is contained in:
ζeh Matt
2025-04-06 18:05:05 +03:00
parent 6d63b1f752
commit 911f821245

View File

@@ -718,7 +718,7 @@ namespace OpenRCT2
if (gLegacyScene != LegacyScene::titleSequence)
{
int32_t height = (TileElementHeight({ sprite->x, sprite->y })) - 16;
int32_t height = TileElementHeight({ sprite->x, sprite->y }) - 16;
int32_t underground = sprite->z < height;
ViewportSetUndergroundFlag(underground, window, window->viewport);
}