-notex should now work (#365)

This commit is contained in:
Random 2023-07-08 14:55:34 -07:00 committed by GitHub
parent 9760f5b8da
commit 2637a5fb65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1536,7 +1536,7 @@ static void LoadTextureData()
miptex.height = tex->meta.height;
// only mips can be embedded directly
if (!pos.archive->external && tex->meta.extension == img::ext::MIP) {
if (!qbsp_options.notextures.value() && !pos.archive->external && tex->meta.extension == img::ext::MIP) {
miptex.data = std::move(file.value());
continue;
}