From 59e5c6332d8bec842fb4aac3c37d2e8c2a8ca7e9 Mon Sep 17 00:00:00 2001 From: Natty <31473117+AMNatty@users.noreply.github.com> Date: Wed, 21 Sep 2022 16:36:40 +0200 Subject: [PATCH] Add FullTilt lane light behavior --- SpaceCadetPinball/control.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/SpaceCadetPinball/control.cpp b/SpaceCadetPinball/control.cpp index 647d368..cd5c773 100644 --- a/SpaceCadetPinball/control.cpp +++ b/SpaceCadetPinball/control.cpp @@ -1349,7 +1349,10 @@ void control::ReentryLanesRolloverControl(MessageCode code, TPinballComponent* c { if (light->LightOnFlag) { - light->Message(MessageCode::TLightResetAndTurnOff, 0.0); + if (!pb::FullTiltMode) + { + light->Message(MessageCode::TLightResetAndTurnOff, 0.0); + } } else { @@ -1401,7 +1404,10 @@ void control::LaunchLanesRolloverControl(MessageCode code, TPinballComponent* ca { if (light->LightOnFlag) { - light->Message(MessageCode::TLightResetAndTurnOff, 0.0); + if (!pb::FullTiltMode) + { + light->Message(MessageCode::TLightResetAndTurnOff, 0.0); + } } else {