mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-24 21:31:46 +00:00
Fix the midtexture bug (combination of underzealous and overzealous safety checking cancelling each other out in a way which was broken but not crashy)
This commit is contained in:
parent
0606f61543
commit
cac0e71c18
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ void R_RenderMaskedSegRange(drawseg_t *ds, INT32 x1, INT32 x2)
|
|||
transtable = 0;
|
||||
blendmode = AST_MODULATE;
|
||||
}
|
||||
if ((dc_transmap = R_GetBlendTable(blendmode, transtable)))
|
||||
if (transtable != NUMTRANSMAPS && (dc_transmap = R_GetBlendTable(blendmode, transtable)))
|
||||
{
|
||||
colfunc = colfuncs[COLDRAWFUNC_FUZZY];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue