Allow CB on top of blocks with height > 1

This commit is contained in:
AurelienUoU 2019-06-21 15:46:05 -06:00
parent a7502bb43b
commit c0d7099cd6
1 changed files with 1 additions and 1 deletions

View File

@ -3136,7 +3136,7 @@ boolean is_cb_exist(t_rr_type cb_type,
/* Check the grid under this CB */
if ((NULL == grid[cb_x][cb_y].type)
||(EMPTY_TYPE == grid[cb_x][cb_y].type)
||(1 < grid[cb_x][cb_y].type->height)) {
||!(grid[cb_x][cb_y].offset + 1 == grid[cb_x][cb_y].type->height)) {
cb_exist = FALSE;
}
break;