Allow CB on top of blocks with height > 1
This commit is contained in:
parent
a7502bb43b
commit
c0d7099cd6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue