mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- GCC compile fix.
SVN r1947 (trunk)
This commit is contained in:
parent
d082266365
commit
aea4e38241
1 changed files with 2 additions and 1 deletions
|
@ -2187,6 +2187,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper,
|
||||||
fixed_t zpos;
|
fixed_t zpos;
|
||||||
int needrepeat = 0;
|
int needrepeat = 0;
|
||||||
sector_t *front, *back;
|
sector_t *front, *back;
|
||||||
|
bool calclighting;
|
||||||
|
|
||||||
if (decal->RenderFlags & RF_INVISIBLE || !viewactive || !decal->PicNum.isValid())
|
if (decal->RenderFlags & RF_INVISIBLE || !viewactive || !decal->PicNum.isValid())
|
||||||
return;
|
return;
|
||||||
|
@ -2430,7 +2431,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prepare lighting
|
// Prepare lighting
|
||||||
bool calclighting = false;
|
calclighting = false;
|
||||||
|
|
||||||
rw_light = rw_lightleft + (x1 - WallSX1) * rw_lightstep;
|
rw_light = rw_lightleft + (x1 - WallSX1) * rw_lightstep;
|
||||||
if (fixedlightlev >= 0)
|
if (fixedlightlev >= 0)
|
||||||
|
|
Loading…
Reference in a new issue