File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Source/RunActivity/Viewer3D Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1710,13 +1710,15 @@ public void ChangeCab()
17101710 PlayerLocomotiveViewer = World . Trains . GetViewer ( Simulator . PlayerLocomotive ) ;
17111711 if ( PlayerLocomotiveViewer is MSTSLocomotiveViewer && ( PlayerLocomotiveViewer as MSTSLocomotiveViewer ) . _hasCabRenderer )
17121712 AdjustCabHeight ( DisplaySize . X , DisplaySize . Y ) ;
1713+
1714+ ThreeDimCabCamera . ChangeCab ( Simulator . PlayerLocomotive ) ;
1715+ HeadOutForwardCamera . ChangeCab ( Simulator . PlayerLocomotive ) ;
1716+ HeadOutBackCamera . ChangeCab ( Simulator . PlayerLocomotive ) ;
1717+
17131718 if ( ! Simulator . PlayerLocomotive . HasFront3DCab && ! Simulator . PlayerLocomotive . HasRear3DCab )
17141719 CabCamera . Activate ( ) ; // If you need anything else here the cameras should check for it.
17151720 else ThreeDimCabCamera . Activate ( ) ;
17161721 SetCommandReceivers ( ) ;
1717- ThreeDimCabCamera . ChangeCab ( Simulator . PlayerLocomotive ) ;
1718- HeadOutForwardCamera . ChangeCab ( Simulator . PlayerLocomotive ) ;
1719- HeadOutBackCamera . ChangeCab ( Simulator . PlayerLocomotive ) ;
17201722 if ( MPManager . IsMultiPlayer ( ) )
17211723 MPManager . LocoChange ( Simulator . PlayerLocomotive . Train , Simulator . PlayerLocomotive ) ;
17221724 Simulator . Confirmer . Confirm ( CabControl . ChangeCab , CabSetting . On ) ;
You can’t perform that action at this time.
0 commit comments