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:
parent
507f05e7bb
commit
ce82aa1f19
1 changed files with 1 additions and 2 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue