From 18c80a0ff8094e0287cadaacd840ea4f3932d337 Mon Sep 17 00:00:00 2001 From: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com> Date: Tue, 11 Jul 2023 12:24:08 +0300 Subject: [PATCH] Fixed plunger pullback following FT rules in 3DPB mode. Issue #179. --- SpaceCadetPinball/TPlunger.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SpaceCadetPinball/TPlunger.cpp b/SpaceCadetPinball/TPlunger.cpp index 54d6836..01bef73 100644 --- a/SpaceCadetPinball/TPlunger.cpp +++ b/SpaceCadetPinball/TPlunger.cpp @@ -60,7 +60,8 @@ int TPlunger::Message(MessageCode code, float value) switch (code) { case MessageCode::PlungerInputPressed: - if (!PullbackStartedFlag && PinballTable->MultiballCount > 0 && !PinballTable->TiltLockFlag) + if (!PullbackStartedFlag && (!pb::FullTiltMode || PinballTable->MultiballCount > 0 && !PinballTable-> + TiltLockFlag)) { PullbackStartedFlag = true; Boost = 0.0;