mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 06:59:18 +02:00
Fix headlights dimmer off position from different end
This commit is contained in:
@@ -7396,7 +7396,7 @@ void TDynamicObject::RaLightsSet(int head, int rear)
|
|||||||
//MoverParameters->iLights[vehicleend] &= 0 | light::rearendsignals; // zostawiamy tylko tabliczki jesli sa
|
//MoverParameters->iLights[vehicleend] &= 0 | light::rearendsignals; // zostawiamy tylko tabliczki jesli sa
|
||||||
HighBeamLights = false;
|
HighBeamLights = false;
|
||||||
DimHeadlights = false;
|
DimHeadlights = false;
|
||||||
switch (vehicleend)
|
switch (MoverParameters->CabActive)
|
||||||
{
|
{
|
||||||
case end::front:
|
case end::front:
|
||||||
HeadlightsAoff = true;
|
HeadlightsAoff = true;
|
||||||
@@ -7410,7 +7410,7 @@ void TDynamicObject::RaLightsSet(int head, int rear)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
switch (vehicleend)
|
switch (MoverParameters->CabActive)
|
||||||
{
|
{
|
||||||
case end::front:
|
case end::front:
|
||||||
HeadlightsAoff = false;
|
HeadlightsAoff = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user