decompile: output source brush number

This commit is contained in:
Eric Wasylishen 2022-11-25 00:32:31 -07:00
parent 743e177694
commit 8b82460201
1 changed files with 4 additions and 4 deletions

View File

@ -152,15 +152,15 @@ struct compiled_brush_t
return;
}
/*if (source) {
if (source) {
fmt::print(stream, "// generated from brush #{}\n", static_cast<ptrdiff_t>(source - bsp->dbrushes.data()));
for (auto &side : sides) {
/*for (auto &side : sides) {
fmt::print(stream, "// side #{}: {} {}\n", static_cast<ptrdiff_t>(side.source -
bsp->dbrushsides.data()), side.plane.normal, side.plane.dist);
}
}*/
}*/
}
fmt::print(stream, "{{\n");