mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-18 15:11:46 +00:00
- fixed some warnings.
This commit is contained in:
parent
e12174ffc1
commit
db766f9fe5
2 changed files with 2 additions and 2 deletions
|
@ -348,7 +348,7 @@ void GLWall::DrawDecal(DBaseDecal *decal)
|
|||
{
|
||||
secplane_t &lowplane = k == (*lightlist).Size() - 1 ? bottomplane : (*lightlist)[k + 1].plane;
|
||||
|
||||
float low1 = lowplane.ZatPoint(dv[1].x, dv[i].y);
|
||||
float low1 = lowplane.ZatPoint(dv[1].x, dv[1].y);
|
||||
float low2 = lowplane.ZatPoint(dv[2].x, dv[2].y);
|
||||
|
||||
if (low1 < dv[1].z && low2 < dv[2].z)
|
||||
|
|
|
@ -949,7 +949,7 @@ int GLMirrorPortal::ClipSeg(seg_t *seg)
|
|||
int GLMirrorPortal::ClipSubsector(subsector_t *sub)
|
||||
{
|
||||
// this seg is completely behind the mirror!
|
||||
for(int i=0;i<sub->numlines;i++)
|
||||
for(unsigned int i=0;i<sub->numlines;i++)
|
||||
{
|
||||
if (P_PointOnLineSide(sub->firstline[i].v1->x, sub->firstline[i].v1->y, linedef) == 0) return PClip_Inside;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue