Add FullTilt lane light behavior

This commit is contained in:
Natty 2022-09-21 16:36:40 +02:00
parent 9f0ae0434e
commit 59e5c6332d
No known key found for this signature in database
GPG Key ID: E2477561D4C45028
1 changed files with 8 additions and 2 deletions

View File

@ -1349,7 +1349,10 @@ void control::ReentryLanesRolloverControl(MessageCode code, TPinballComponent* c
{ {
if (light->LightOnFlag) if (light->LightOnFlag)
{ {
if (!pb::FullTiltMode)
{
light->Message(MessageCode::TLightResetAndTurnOff, 0.0); light->Message(MessageCode::TLightResetAndTurnOff, 0.0);
}
} }
else else
{ {
@ -1401,7 +1404,10 @@ void control::LaunchLanesRolloverControl(MessageCode code, TPinballComponent* ca
{ {
if (light->LightOnFlag) if (light->LightOnFlag)
{ {
if (!pb::FullTiltMode)
{
light->Message(MessageCode::TLightResetAndTurnOff, 0.0); light->Message(MessageCode::TLightResetAndTurnOff, 0.0);
}
} }
else else
{ {