qbsp: fix settings clearing between test runs

This commit is contained in:
Eric Wasylishen 2022-05-10 00:59:18 -06:00
parent 66ba184083
commit aed5ebe439
1 changed files with 2 additions and 1 deletions

View File

@ -1146,7 +1146,8 @@ void InitQBSP(int argc, const char **argv)
{
// In case we're launched more than once, in testqbsp
map.reset();
// HACK: should have a better way of clearing the options system
options.reset();
// fixme-brushbsp: clear any other members of qbsp_settings
options.target_game = nullptr;
options.target_version = nullptr;