예제 #1
0
파일: Host.cs 프로젝트: s520/OpenBVE
 public override void ProcessJump(AbstractTrain Train, int StationIndex)
 {
     ObjectManager.ProcessJump(Train);
     if (Train.IsPlayerTrain)
     {
         if (Game.CurrentScore.ArrivalStation <= StationIndex)
         {
             Game.CurrentScore.ArrivalStation = StationIndex + 1;
         }
         Game.CurrentScore.DepartureStation = StationIndex;
         Program.Renderer.CurrentInterface  = InterfaceType.Normal;
         Program.TrainManager.UnderailTrains();
     }
 }