forked from rosebudai/OpenRCT2-Web
Remove assert on ScreenLine (#12333)
Code is not always constructing a valid line
This commit is contained in:
1 parent
6e077c42ea
commit
d10b615eb3
1 file changed
-2
@@ -712,8 +712,6 @@ struct ScreenLine : public CoordsRange<ScreenCoordsXY>
|
||||
ScreenLine(const ScreenCoordsXY& leftTop, const ScreenCoordsXY& rightBottom)
|
||||
: CoordsRange<ScreenCoordsXY>(leftTop, rightBottom)
|
||||
{
|
||||
// Make sure one of the point coords change
|
||||
assert((std::abs(GetX1() - GetX2()) > 0) || (std::abs(GetY1() - GetY2()) > 0));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user