From fccfcd12fd67610d4cdbe23c2c37ccf6bb5e0baa Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 15 Apr 2025 20:27:21 +0200 Subject: [PATCH] fix model blendpatches we already have a functional check in HWR_GetBlendedTexture anyways --- src/hardware/hw_md2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/hardware/hw_md2.c b/src/hardware/hw_md2.c index d50a30354..de78808e6 100644 --- a/src/hardware/hw_md2.c +++ b/src/hardware/hw_md2.c @@ -1330,9 +1330,7 @@ void HWR_DrawMD2(gl_vissprite_t *spr) if (gpatch && hwrPatch && hwrPatch->mipmap->format) // else if meant that if a texture couldn't be loaded, it would just end up using something else's texture { - if ((skincolors_t)spr->mobj->color != SKINCOLOR_NONE && - blendgpatch && (hwrBlendPatch->mipmap->format - && gpatch->width == (blendgpatch->width && gpatch->height == (blendgpatch->height)))) + if ((skincolors_t)spr->mobj->color != SKINCOLOR_NONE) { INT32 tcskinnum = TC_DEFAULT; if ((spr->mobj->flags & MF_BOSS) && (spr->mobj->flags2 & MF2_FRET) && (leveltime & 1)) // Bosses "flash"