From e7ddebd16c272bc8a0ee12077ec82120f30d45a0 Mon Sep 17 00:00:00 2001 From: Natty <31473117+AMNatty@users.noreply.github.com> Date: Fri, 23 Sep 2022 06:42:19 +0200 Subject: [PATCH] Add FullTilt lane light behavior (#157) * Add FullTilt lane light behavior * Replaced spaces with tabs --- SpaceCadetPinball/control.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/SpaceCadetPinball/control.cpp b/SpaceCadetPinball/control.cpp index 647d368..f32672f 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 {