Changeset 109 for trunk


Ignore:
Timestamp:
Oct 4, 2022, 7:28:55 PM (2 years ago)
Author:
chronos
Message:
  • Fixed: Reset available carriages count on new game.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UEngine.pas

    r108 r109  
    32493249  Trains.Clear;
    32503250  Passengers.Clear;
     3251  Carriages.Clear;
    32513252  Lines.Clear;
    32523253  Stations.Clear;
    32533254  View.SourceRect := Bounds(0, 0, 0, 0);
     3255  SelectedLine := nil;
     3256  SelectedTrain := nil;
     3257  SelectedCarriage := nil;
    32543258end;
    32553259
     
    32913295  ResizeView(True);
    32923296
    3293   SelectedLine := nil;
    32943297  FTime := 0;
    32953298  FLastTime := 0;
Note: See TracChangeset for help on using the changeset viewer.