1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 07:43:01 +01:00

Refactor viewport flags

This commit is contained in:
Ted John
2022-03-06 14:26:36 +00:00
parent c68359662d
commit 61f1e13c0b
10 changed files with 101 additions and 98 deletions

View File

@@ -564,12 +564,12 @@ static void ApplyOptions(const ScreenshotOptions* options, rct_viewport& viewpor
if (options->hide_guests)
{
viewport.flags |= VIEWPORT_FLAG_INVISIBLE_GUESTS | VIEWPORT_FLAG_INVISIBLE_STAFF;
viewport.flags |= VIEWPORT_FLAG_HIDE_GUESTS | VIEWPORT_FLAG_HIDE_STAFF;
}
if (options->hide_sprites)
{
viewport.flags |= VIEWPORT_FLAG_INVISIBLE_SPRITES;
viewport.flags |= VIEWPORT_FLAG_HIDE_ENTITIES;
}
if (options->mowed_grass)