mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Switch for disabling mirrors
This commit is contained in:
@@ -3910,7 +3910,9 @@ bool TDynamicObject::Update(double dt, double dt1)
|
||||
}
|
||||
|
||||
// mirrors
|
||||
if( MoverParameters->Vel > MoverParameters->MirrorVelClose ) {
|
||||
if( (MoverParameters->Vel > MoverParameters->MirrorVelClose)
|
||||
|| (MoverParameters->CabActive == 0) && (activation::mirrors)
|
||||
|| (MoverParameters->MirrorForbidden) ) {
|
||||
// automatically fold mirrors when above velocity threshold
|
||||
if( dMirrorMoveL > 0.0 ) {
|
||||
dMirrorMoveL = std::max(
|
||||
|
||||
Reference in New Issue
Block a user