mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Removed redundant comparison
No more 'comparison of unsigned expression >= 0 is always true' warning
This commit is contained in:
parent
3c044ebd5e
commit
d49f4a5d84
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue