Fix R_DrawWallColumn not rendering some textures on binary maps

This commit is contained in:
Alug 2025-01-13 08:02:27 +01:00
parent 713ac093bf
commit 6c80e5c80f

View file

@ -2066,7 +2066,7 @@ void R_StoreWallRange(INT32 start, INT32 stop)
auto get_flat_tex = [](INT32 texnum)
{
texnum = R_GetTextureNum(texnum);
if (textures[texnum]->holes)
if (udmf && textures[texnum]->holes)
{
//srb2::r_debug::add_texture_to_frame_list(texnum);
// R_DrawWallColumn cannot render holey textures