Berthold Stoeger d0494beb5f planner: fix deco calculation
In 9bfc6d252, testing of the planner was changed to use the
planner_ds parameter instead of a global variable.

Unfortunately, two conditionals were inverted, leading to
an erroneous ceiling calculation when in the planner.

Restore the proper conditions. Moreover, instead of testing
the planner_ds parameter, use the already existing in_planner
flag, which is derived from said parameter.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-03-24 10:30:22 -07:00
..
2019-08-08 08:56:44 -07:00
2020-12-17 08:10:56 -08:00
2017-04-29 13:32:55 -07:00
2020-10-24 09:51:37 -07:00
2020-10-24 09:51:37 -07:00
2020-09-29 16:13:03 -07:00
2021-03-12 22:24:23 +01:00
2021-03-12 22:24:23 +01:00
2018-10-21 19:55:09 +03:00
2021-02-10 14:33:15 -08:00
2021-02-10 14:33:15 -08:00
2021-03-08 16:29:04 -08:00
2021-01-06 10:18:23 -08:00
2021-03-24 10:30:22 -07:00
2020-10-24 09:51:37 -07:00
2020-04-18 13:41:29 +02:00
2019-12-13 07:04:00 -05:00
2017-04-29 13:32:55 -07:00
2020-12-29 08:34:09 -08:00
2020-03-10 17:42:54 -07:00
2020-03-10 17:42:54 -07:00
2020-05-03 15:02:21 -07:00