mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-21 18:22:40 +01:00
Add FullTilt lane light behavior (#157)
* Add FullTilt lane light behavior * Replaced spaces with tabs
This commit is contained in:
parent
7003b01e5d
commit
e7ddebd16c
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user