diff --git a/src/rendering/swrenderer/plane/r_visibleplane.cpp b/src/rendering/swrenderer/plane/r_visibleplane.cpp index c4b6c2b89..75c562194 100644 --- a/src/rendering/swrenderer/plane/r_visibleplane.cpp +++ b/src/rendering/swrenderer/plane/r_visibleplane.cpp @@ -115,7 +115,8 @@ namespace swrenderer else // regular flat { auto tex = GetPalettedSWTexture(picnum, true); - + if (tex == nullptr) + return; if (!masked && !additive) { // If we're not supposed to see through this plane, draw it opaque. alpha = OPAQUE;