qbsp: fix tests
This commit is contained in:
parent
54d9e08033
commit
047bc1299a
|
|
@ -286,7 +286,7 @@ public:
|
||||||
bool fixRotateObjTexture;
|
bool fixRotateObjTexture;
|
||||||
bool fbspx_brushes;
|
bool fbspx_brushes;
|
||||||
bool fNoTextures;
|
bool fNoTextures;
|
||||||
const bspversion_t *target_version = nullptr;
|
const bspversion_t *target_version = &bspver_q1;
|
||||||
int dxSubdivide;
|
int dxSubdivide;
|
||||||
int dxLeakDist;
|
int dxLeakDist;
|
||||||
int maxNodeSize;
|
int maxNodeSize;
|
||||||
|
|
|
||||||
|
|
@ -969,11 +969,6 @@ ParseOptions(char *szOptions)
|
||||||
options.target_version = &bspver_h2;
|
options.target_version = &bspver_h2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// default to bspver_q1
|
|
||||||
if (options.target_version == nullptr) {
|
|
||||||
options.target_version = &bspver_q1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue