From c130f4cf52c7c631bc14d21efab2dd4a1bf07c58 Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Fri, 16 Aug 2024 19:25:10 -0700 Subject: [PATCH] actually invoke calc_targets --- vacuum_gambit.p8 | 1 + 1 file changed, 1 insertion(+) diff --git a/vacuum_gambit.p8 b/vacuum_gambit.p8 index 1e28a4e..0d1c62c 100644 --- a/vacuum_gambit.p8 +++ b/vacuum_gambit.p8 @@ -460,6 +460,7 @@ function ship_m:constrain(p, dp, pmin, pmax, want) -- brake point bp = p + bd + v1 end + calc_targets() if bp < pmin then -- undershoot. max thrust, -- then treat as overshoot