Merge branch 'side-discolor-fix' into 'master'

Fix colormap bleeding onto sides [by Jimita]

See merge request STJr/SRB2!427
This commit is contained in:
Digiku 2018-12-24 17:33:34 -05:00
commit e721a3d882
1 changed files with 3 additions and 0 deletions

View File

@ -1126,6 +1126,9 @@ void R_RenderThickSideRange(drawseg_t *ds, INT32 x1, INT32 x2, ffloor_t *pfloor)
// Get data for the column
col = (column_t *)((UINT8 *)R_GetColumn(texnum,maskedtexturecol[dc_x]) - 3);
// guess what I just fixed? -monster psychic cat
dc_colormap = colormaps;
// SoM: New code does not rely on R_DrawColumnShadowed_8 which
// will (hopefully) put less strain on the stack.
if (dc_numlights)