mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
Fix R_DrawFogBoundary for right-edge exclusivity
This commit is contained in:
parent
240ca2af4c
commit
219b6f7c5d
1 changed files with 2 additions and 2 deletions
|
@ -1797,8 +1797,8 @@ void R_DrawFogBoundary (int x1, int x2, short *uclip, short *dclip)
|
|||
// we need to use a new colormap.
|
||||
|
||||
fixed_t lightstep = rw_lightstep;
|
||||
fixed_t light = rw_light+lightstep*(x2-x1);
|
||||
int x = x2;
|
||||
fixed_t light = rw_light+lightstep*(x2-x1-1);
|
||||
int x = x2-1;
|
||||
int t2 = uclip[x];
|
||||
int b2 = dclip[x];
|
||||
int rcolormap = GETPALOOKUP (light, wallshade);
|
||||
|
|
Loading…
Reference in a new issue