assert(_used_rect.get_area() >= 0)
This commit is contained in:
@@ -79,7 +79,7 @@ void MultilevelAStarEx::init(const Rect2i ®ion)
|
||||
{
|
||||
DEV_ASSERT(!_init);
|
||||
|
||||
DEV_ASSERT(region.get_area() > 0);
|
||||
DEV_ASSERT(region.get_area() >= 0);
|
||||
|
||||
_region = region;
|
||||
_width = region.get_size().width;
|
||||
|
||||
Reference in New Issue
Block a user