From 99b39f04e72c1631c54466592075f0d070b2a3d9 Mon Sep 17 00:00:00 2001 From: Tulio Leao Date: Fri, 3 Jul 2020 04:28:30 -0300 Subject: [PATCH] Do not try to force dimensions of a rectangle (#12115) --- src/openrct2/world/Location.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/openrct2/world/Location.hpp b/src/openrct2/world/Location.hpp index a239feef95..bcdc06ddbd 100644 --- a/src/openrct2/world/Location.hpp +++ b/src/openrct2/world/Location.hpp @@ -659,9 +659,6 @@ template struct RectRange : public CoordsRange RectRange(const T& leftTop, const T& rightBottom) : CoordsRange(leftTop, rightBottom) { - // Make sure it's a rectangle - assert(std::abs(CoordsRange::GetLeft() - CoordsRange::GetRight()) > 0); - assert(std::abs(CoordsRange::GetTop() - CoordsRange::GetBottom()) > 0); } };