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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user