mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2023-12-30 21:52:56 +00: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
@ -1348,9 +1348,12 @@ void control::ReentryLanesRolloverControl(MessageCode code, TPinballComponent* c
|
|||||||
if (!light->FlasherOnFlag)
|
if (!light->FlasherOnFlag)
|
||||||
{
|
{
|
||||||
if (light->LightOnFlag)
|
if (light->LightOnFlag)
|
||||||
|
{
|
||||||
|
if (!pb::FullTiltMode)
|
||||||
{
|
{
|
||||||
light->Message(MessageCode::TLightResetAndTurnOff, 0.0);
|
light->Message(MessageCode::TLightResetAndTurnOff, 0.0);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
light->Message(MessageCode::TLightResetAndTurnOn, 0.0);
|
light->Message(MessageCode::TLightResetAndTurnOn, 0.0);
|
||||||
@ -1400,9 +1403,12 @@ void control::LaunchLanesRolloverControl(MessageCode code, TPinballComponent* ca
|
|||||||
if (!light->FlasherOnFlag)
|
if (!light->FlasherOnFlag)
|
||||||
{
|
{
|
||||||
if (light->LightOnFlag)
|
if (light->LightOnFlag)
|
||||||
|
{
|
||||||
|
if (!pb::FullTiltMode)
|
||||||
{
|
{
|
||||||
light->Message(MessageCode::TLightResetAndTurnOff, 0.0);
|
light->Message(MessageCode::TLightResetAndTurnOff, 0.0);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
light->Message(MessageCode::TLightResetAndTurnOn, 0.0);
|
light->Message(MessageCode::TLightResetAndTurnOn, 0.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user