Fucking shadowed declarations in hw_md2.c

This commit is contained in:
James R 2020-05-11 18:57:38 -07:00
parent cbf565c6d6
commit 0b887e92ba
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,6 @@ static void HWR_CreateBlendedTexture(GLPatch_t *gpatch, GLPatch_t *blendgpatch,
UINT8 cutoff[16]; // Brightness cutoff before using the next color
UINT8 translen = 0;
UINT8 i;
UINT16 b;
UINT8 colorbrightnesses[16];
UINT8 color_match_lookup[256]; // optimization attempt
@ -743,6 +742,7 @@ static void HWR_CreateBlendedTexture(GLPatch_t *gpatch, GLPatch_t *blendgpatch,
if (skinnum == TC_RAINBOW && translen > 0)
{
UINT16 b;
INT32 compare;
for (i = 0; i < translen; i++) // moved from inside the loop to here