Removed redundant comparison

No more 'comparison of unsigned expression >= 0 is always true' warning
This commit is contained in:
alexey.lysiuk 2016-02-27 15:05:01 +02:00
parent 3c044ebd5e
commit d49f4a5d84

View file

@ -972,7 +972,7 @@ bool PIT_CheckLine(FMultiBlockLinesIterator &mit, FMultiBlockLinesIterator::Chec
spec.oldrefpos = tm.thing->PosRelative(ld);
spechit.Push(spec);
}
if (ld->portalindex >= 0 && ld->portalindex != UINT_MAX)
if (ld->portalindex != UINT_MAX)
{
spec.line = ld;
spec.refpos = cres.position;