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) switch (code)
{ {
case MessageCode::PlungerInputPressed: case MessageCode::PlungerInputPressed:
if (!PullbackStartedFlag && PinballTable->MultiballCount > 0 && !PinballTable->TiltLockFlag) if (!PullbackStartedFlag && (!pb::FullTiltMode || PinballTable->MultiballCount > 0 && !PinballTable->
TiltLockFlag))
{ {
PullbackStartedFlag = true; PullbackStartedFlag = true;
Boost = 0.0; Boost = 0.0;