- fixed bad assert.

This can indeed be called with both angles being identical and should accept this case.
This commit is contained in:
Christoph Oelckers 2021-12-15 18:56:41 +01:00
parent d1f088a858
commit 4700299fc6

View file

@ -118,7 +118,7 @@ bool BunchDrawer::StartBunch(int sectnum, int linenum, binangle startan, binangl
bunch->startangle = startan;
bunch->endangle = endan;
bunch->portal = portal;
assert(bunch->endangle.asbam() > bunch->startangle.asbam());
assert(bunch->endangle.asbam() >= bunch->startangle.asbam());
return bunch->endangle != angrange;
}