erreur de reconnaisance du buffer.

Cela n'arrive que si une cellule ressemblant au buffer est
construite avant dans la liste de cellules de loon.
This commit is contained in:
Francois Donnet 2002-10-02 17:38:46 +00:00
parent d6ce105ece
commit 09a607143a
1 changed files with 2 additions and 1 deletions

View File

@ -403,7 +403,8 @@ extern cell_list* getCellbuffer()
befig=cell->BEFIG;
if (befig->BEREG || befig->BEBUS || !befig->BEOUT) continue;
/*simple affect*/
if (ABL_ATOM(befig->BEOUT->ABL)) {
if (ABL_ATOM(befig->BEOUT->ABL) && ABL_ATOM_VALUE(befig->BEOUT->ABL)!=getablatomone()
&& ABL_ATOM_VALUE(befig->BEOUT->ABL)!=getablatomzero() ) {
best=cell;
for (cell=cell->NEXT; cell; cell=cell->NEXT) {
if (best->AREA>cell->AREA) cell=best;