qbsp: fix settings clearing between test runs
This commit is contained in:
parent
66ba184083
commit
aed5ebe439
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue