diff --git a/src/cell.c b/src/cell.c index 5873616d741962816cc1b663eaf7baadf2f69c2c..925b6422a864626ac54d13eeff832ef2cef216f3 100644 --- a/src/cell.c +++ b/src/cell.c @@ -3685,8 +3685,8 @@ void cell_recursively_shift_sparts(struct cell *c, struct cell *const target_cel if( c->stars.parts < start || (c->stars.parts == start && c < target_cell)) { - /* if(c->stars.parts + c->stars.count > start) */ - /* c->stars.parts++; */ + if(c->stars.parts + c->stars.count > start) + c->stars.parts++; /* Abort if we are in a cell before the point where we want to start the memory shift */