mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- Removed an early-out in wallscan_striped() that is invalid when drawing a
skybox. SVN r1451 (trunk)
This commit is contained in:
parent
4535382031
commit
37aa4c2c28
2 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,8 @@
|
||||||
February 25, 2009 (Changes by Graf Zahl)
|
February 26, 2009
|
||||||
|
- Removed an early-out in wallscan_striped() that is invalid when drawing a
|
||||||
|
skybox.
|
||||||
|
|
||||||
|
February 25, 2009 (Changes by Graf Zahl)
|
||||||
- fixed: nextmap and nextsecret CCMDs set skill to 0.
|
- fixed: nextmap and nextsecret CCMDs set skill to 0.
|
||||||
- fixed: level.flags2 was not stored in savegames. Also bumped min. savegame
|
- fixed: level.flags2 was not stored in savegames. Also bumped min. savegame
|
||||||
version and removed old compatibility handlings.
|
version and removed old compatibility handlings.
|
||||||
|
|
|
@ -589,6 +589,9 @@ void wallscan_striped (int x1, int x2, short *uwal, short *dwal, fixed_t *swal,
|
||||||
up = uwal;
|
up = uwal;
|
||||||
down = most1;
|
down = most1;
|
||||||
|
|
||||||
|
assert(WallSX1 <= x1);
|
||||||
|
assert(WallSX2 > x2);
|
||||||
|
|
||||||
for (int i = 0; i < el->NumUsedLights; ++i)
|
for (int i = 0; i < el->NumUsedLights; ++i)
|
||||||
{
|
{
|
||||||
if (flooding && !el->Lights[i].bFlooder)
|
if (flooding && !el->Lights[i].bFlooder)
|
||||||
|
@ -605,7 +608,7 @@ void wallscan_striped (int x1, int x2, short *uwal, short *dwal, fixed_t *swal,
|
||||||
//break;
|
//break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (j != 3 && (most3[x1] > up[x1] || most3[x2] > up[x2]))
|
if (j != 3 /*&& (most3[x1] > up[x1] || most3[x2] > up[x2])*/)
|
||||||
{
|
{
|
||||||
for (int j = x1; j <= x2; ++j)
|
for (int j = x1; j <= x2; ++j)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue