Incorrect macro in R_DrawColumnShadowed_8
// This runs through the lightlist from top to bottom and cuts up the column accordingly.
for (i = 0; i < dc_numlights; i++)
{
// If the height of the light is above the column, get the colormap
// anyway because the lighting of the top should be affected.
solid = dc_lightlist[i].flags & FF_CUTSOLIDS;
height = dc_lightlist[i].height >> LIGHTSCALESHIFT;
if (solid)
{
bheight = dc_lightlist[i].botheight >> LIGHTSCALESHIFT;
The function is using LIGHTSCALESHIFT
. It should be using HEIGHTBITS
(needs to be moved from r_segs.c
.)
Edited by Lactozilla