From 1cba35d7aa1f3e815a7a2a62c99130bde0443439 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 23 Oct 2024 15:25:55 +0200 Subject: [PATCH] move this into TC_RAINBOW condtion its only used with TC_RAINBOW anyways --- src/hardware/hw_md2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hardware/hw_md2.c b/src/hardware/hw_md2.c index e0596353d..1b2bcba21 100644 --- a/src/hardware/hw_md2.c +++ b/src/hardware/hw_md2.c @@ -795,10 +795,9 @@ static void HWR_CreateBlendedTexture(GLPatch_t *gpatch, GLPatch_t *blendgpatch, } } } - } - if (translen > 0) colorbrightnesses[translen] = colorbrightnesses[translen-1]; + } while (size--) {