From 0b887e92ba298070208ce3991dcb1b048d5827fb Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 11 May 2020 18:57:38 -0700 Subject: [PATCH] Fucking shadowed declarations in hw_md2.c --- src/hardware/hw_md2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_md2.c b/src/hardware/hw_md2.c index 49e0ae95..7d97bd06 100644 --- a/src/hardware/hw_md2.c +++ b/src/hardware/hw_md2.c @@ -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