mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 12:30:32 +00:00
Replaced comparisons with assignments in 3D floor tracing
No more 'equality comparison result unused' warnings
This commit is contained in:
parent
6c94c49d6f
commit
801ac9128a
1 changed files with 4 additions and 4 deletions
|
@ -342,7 +342,7 @@ void FTraceInfo::Setup3DFloors()
|
||||||
{
|
{
|
||||||
CurSector->floorplane = *rover->top.plane;
|
CurSector->floorplane = *rover->top.plane;
|
||||||
CurSector->SetTexture(sector_t::floor, *rover->top.texture, false);
|
CurSector->SetTexture(sector_t::floor, *rover->top.texture, false);
|
||||||
CurSector->SkyBoxes[sector_t::floor] == NULL;
|
CurSector->SkyBoxes[sector_t::floor] = nullptr;
|
||||||
bf = ff_top;
|
bf = ff_top;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -354,7 +354,7 @@ void FTraceInfo::Setup3DFloors()
|
||||||
CurSector->ceilingplane = *rover->bottom.plane;
|
CurSector->ceilingplane = *rover->bottom.plane;
|
||||||
CurSector->SetTexture(sector_t::ceiling, *rover->bottom.texture, false);
|
CurSector->SetTexture(sector_t::ceiling, *rover->bottom.texture, false);
|
||||||
bc = ff_bottom;
|
bc = ff_bottom;
|
||||||
CurSector->SkyBoxes[sector_t::ceiling] == NULL;
|
CurSector->SkyBoxes[sector_t::ceiling] = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -364,7 +364,7 @@ void FTraceInfo::Setup3DFloors()
|
||||||
{
|
{
|
||||||
CurSector->floorplane = *rover->bottom.plane;
|
CurSector->floorplane = *rover->bottom.plane;
|
||||||
CurSector->SetTexture(sector_t::floor, *rover->bottom.texture, false);
|
CurSector->SetTexture(sector_t::floor, *rover->bottom.texture, false);
|
||||||
CurSector->SkyBoxes[sector_t::floor] == NULL;
|
CurSector->SkyBoxes[sector_t::floor] = nullptr;
|
||||||
bf = ff_bottom;
|
bf = ff_bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -372,7 +372,7 @@ void FTraceInfo::Setup3DFloors()
|
||||||
{
|
{
|
||||||
CurSector->ceilingplane = *rover->top.plane;
|
CurSector->ceilingplane = *rover->top.plane;
|
||||||
CurSector->SetTexture(sector_t::ceiling, *rover->top.texture, false);
|
CurSector->SetTexture(sector_t::ceiling, *rover->top.texture, false);
|
||||||
CurSector->SkyBoxes[sector_t::ceiling] == NULL;
|
CurSector->SkyBoxes[sector_t::ceiling] = nullptr;
|
||||||
bc = ff_top;
|
bc = ff_top;
|
||||||
}
|
}
|
||||||
inshootthrough = false;
|
inshootthrough = false;
|
||||||
|
|
Loading…
Reference in a new issue