qbsp: -debugexpand: write to .bsp output dir

This commit is contained in:
Eric Wasylishen 2023-05-20 21:17:14 -06:00
parent 9c466dd813
commit 752cd95c02
1 changed files with 4 additions and 1 deletions

View File

@ -3290,7 +3290,10 @@ void ProcessMapBrushes()
hull = qbsp_options.debugexpand.hull_bounds_value();
}
WriteMapBrushMap("expanded.map", map.world_entity().mapbrushes, hull);
fs::path name = qbsp_options.bsp_path;
name.replace_extension("expanded.map");
WriteMapBrushMap(name, map.world_entity().mapbrushes, hull);
}
}