Skip to content

Commit

Permalink
add whitespace around single-line branch
Browse files Browse the repository at this point in the history
  • Loading branch information
spacek531 committed May 10, 2024
1 parent c78515c commit e12bf2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/openrct2/drawing/ImageImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,11 @@ namespace OpenRCT2::Drawing
auto keepPalette = Json::GetString(input["palette"]) == "keep";
auto palette = keepPalette ? Palette::KeepIndices : Palette::OpenRCT2;
auto flags = EnumValue(ImportFlags::None);

auto raw = Json::GetString(input["format"]) == "raw";
if (raw)
flags |= EnumValue(ImportFlags::RLE);

flags |= Json::GetFlags<uint8_t>(
input,
{
Expand Down

0 comments on commit e12bf2a

Please sign in to comment.