diff --git a/src/runner.c b/src/runner.c index f286326cfa80add202a54cbef0721d931ed0dbdc..7d2e0d6396cc4656e2fb0df5de0938ee0a981f20 100644 --- a/src/runner.c +++ b/src/runner.c @@ -929,6 +929,7 @@ void runner_dokick(struct runner *r, struct cell *c, int timer) { struct cell *cp = c->progeny[k]; runner_dokick(r, cp, 0); + updated += cp->updated; ekin += cp->ekin; epot += cp->epot; mom[0] += cp->mom[0]; @@ -943,6 +944,7 @@ void runner_dokick(struct runner *r, struct cell *c, int timer) { } /* Store the values. */ + c->updated = updated; c->ekin = ekin; c->epot = epot; c->mom[0] = mom[0];