Skip to content

Commit

Permalink
decompile: build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ericwa committed Oct 24, 2023
1 parent e84ba4c commit 5229cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/decompile.cc
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@ static std::vector<compiled_brush_t> DecompileLeafTaskLeafVisualization(
compiled_brush_t brush;
brush.source = task.brush;
brush.brush_offset = brush_offset;
brush.contents = task.leaf ? contentflags_t(task.leaf->contents) : contentflags_t(task.contents.value());
brush.contents = task.leaf ? contentflags_t{task.leaf->contents} : contentflags_t{task.contents.value()};

for (auto &finalSide : finalBrush.sides) {
compiled_brush_side_t &side = brush.sides.emplace_back();
Expand Down

0 comments on commit 5229cd6

Please sign in to comment.