From 1a1184030ef0fcd7174fb536f7e4c81fef87d87c Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Fri, 23 Nov 2018 12:10:47 +0100
Subject: [PATCH] When creating a star from gas, also synchronise the drifting
 points.

---
 src/runner.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/runner.c b/src/runner.c
index dddeaad7fd..ba13d06261 100644
--- a/src/runner.c
+++ b/src/runner.c
@@ -556,6 +556,7 @@ void runner_do_star_formation(struct runner *r, struct cell *c, int timer) {
 
 #ifdef SWIFT_DEBUG_CHECKS
           sp->ti_kick = gp->ti_kick;
+          gp->ti_drift = sp->drift;
 #endif
 
           /* Set a smoothing length */
-- 
GitLab