fix a -Wmaybe-uninitialized warning

deez nuts are being used unitialised
this will only ever be used with TC_RAINBOW so why not move it into the condition for it?
This commit is contained in:
Alug 2024-10-23 14:59:52 +02:00
parent 507f05e7bb
commit ce82aa1f19

View file

@ -823,10 +823,9 @@ static void HWR_CreateBlendedTexture(patch_t *gpatch, patch_t *blendgpatch, GLMi
}
}
}
}
if (translen > 0)
colorbrightnesses[translen] = colorbrightnesses[translen-1];
}
if (skinnum == TC_BLINK)
blendcolor = V_GetColor(skincolors[color].ramp[3]);