1
0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2024-11-22 02:32:39 +01:00

Fixed plunger pullback following FT rules in 3DPB mode.

Issue #179.
This commit is contained in:
Muzychenko Andrey 2023-07-11 12:24:08 +03:00
parent 62e20b1cf9
commit 18c80a0ff8

View File

@ -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;