Commit 8fbde478 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

No need to explicitly activate the drift_part task in engine_marktask()

parent c31fe0bd
......@@ -2830,8 +2830,7 @@ void engine_marktasks_mapper(void *map_data, int num_elements,
/* Kick/Drift/init ? */
if (t->type == task_type_kick1 || t->type == task_type_kick2 ||
t->type == task_type_drift_part || t->type == task_type_drift_gpart ||
t->type == task_type_init_grav) {
t->type == task_type_drift_gpart || t->type == task_type_init_grav) {
if (cell_is_active(t->ci, e)) scheduler_activate(s, t);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment