mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 07:43:01 +01:00
Refactor viewport flags
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user