From aed5ebe43953885e63593a3971a2f54e630f7ffc Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Tue, 10 May 2022 00:59:18 -0600 Subject: [PATCH] qbsp: fix settings clearing between test runs --- qbsp/qbsp.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qbsp/qbsp.cc b/qbsp/qbsp.cc index 1628007a..bf0fedaf 100644 --- a/qbsp/qbsp.cc +++ b/qbsp/qbsp.cc @@ -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;