fix model blendpatches

we already have a functional check in HWR_GetBlendedTexture anyways
This commit is contained in:
Alug committed 2025-04-15 20:27:21 +02:00
1 parent e0b58b4da0
commit 96eecfe5a0
1 file changed
+1 -3
+1 -3
View File
@@ -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"