From 2637a5fb65c13ae7cf0d5c9ef8d4be3efb7f3cd5 Mon Sep 17 00:00:00 2001 From: Random <35673979+RandomErrorMessage@users.noreply.github.com> Date: Sat, 8 Jul 2023 14:55:34 -0700 Subject: [PATCH] -notex should now work (#365) --- qbsp/qbsp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbsp/qbsp.cc b/qbsp/qbsp.cc index 183920b8..1300e2aa 100644 --- a/qbsp/qbsp.cc +++ b/qbsp/qbsp.cc @@ -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; }