Changeset 119 for tags/1.3.0/UEngine.pas


Ignore:
Timestamp:
Oct 25, 2022, 11:02:30 PM (19 months ago)
Author:
chronos
Message:
  • Fixed: Error if track removed while train in station.
  • Fixed: Fullscreen was not working at the application first start.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/1.3.0/UEngine.pas

    r110 r119  
    15381538        LastTrainMoveTime := Time;
    15391539        Redraw;
    1540         TrackPosition.Move(PosChange);
     1540        if Assigned(TrackPosition.BaseTrackPoint) then
     1541          TrackPosition.Move(PosChange);
    15411542
    15421543        if Assigned(TargetStation) then begin
Note: See TracChangeset for help on using the changeset viewer.