mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-05 00:12:16 +00:00
Fix dumb copy paste error that caused software to crash
This commit is contained in:
parent
d311242a6e
commit
4029f5bd00
1 changed files with 2 additions and 2 deletions
|
|
@ -1014,9 +1014,9 @@ void R_DrawSinglePlane(visplane_t *pl)
|
||||||
else if (pl->ffloor->alpha < 243)
|
else if (pl->ffloor->alpha < 243)
|
||||||
ds_transmap = transtables + ((tr_trans10-1)<<FF_TRANSSHIFT);
|
ds_transmap = transtables + ((tr_trans10-1)<<FF_TRANSSHIFT);
|
||||||
else if (pl->ffloor->alpha == FFLOOR_ALPHA_SPECIAL_ADDITIVE)
|
else if (pl->ffloor->alpha == FFLOOR_ALPHA_SPECIAL_ADDITIVE)
|
||||||
dc_transmap = transtables + ((tr_transadd-1)<<FF_TRANSSHIFT);
|
ds_transmap = transtables + ((tr_transadd-1)<<FF_TRANSSHIFT);
|
||||||
else if (pl->ffloor->alpha == FFLOOR_ALPHA_SPECIAL_SUBTRACTIVE)
|
else if (pl->ffloor->alpha == FFLOOR_ALPHA_SPECIAL_SUBTRACTIVE)
|
||||||
dc_transmap = transtables + ((tr_transsub-1)<<FF_TRANSSHIFT);
|
ds_transmap = transtables + ((tr_transsub-1)<<FF_TRANSSHIFT);
|
||||||
else // Opaque, but allow transparent flat pixels
|
else // Opaque, but allow transparent flat pixels
|
||||||
spanfunctype = SPANDRAWFUNC_SPLAT;
|
spanfunctype = SPANDRAWFUNC_SPLAT;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue