- fixed the remaining warnings.

This commit is contained in:
Christoph Oelckers 2021-05-12 17:57:36 +02:00
parent cf22a70d82
commit cb2bc7967a
13 changed files with 47 additions and 47 deletions

View file

@ -481,7 +481,7 @@ int HWLinePortal::ClipSeg(walltype *seg, const DVector3 &viewpos)
int HWLinePortal::ClipSector(sectortype *sub)
{
// this seg is completely behind the mirror
for (unsigned int i = 0; i<sub->wallnum; i++)
for (int i = 0; i<sub->wallnum; i++)
{
if (PointOnLineSide(WallStart(&wall[sub->wallptr]), line) == 0) return PClip_Inside;
}