Ignore:
Timestamp:
Jan 6, 2025, 9:04:30 AM (3 days ago)
Author:
chronos
Message:
  • Fixed: Run Randomize only once at startup.
  • Fixed: Store current state of RandSeed to game save.
  • Fixed: Load/store RandSeed as its Cardinal type instead of Integer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormNew.pas

    r393 r397  
    498498procedure TFormNew.FormShow(Sender: TObject);
    499499begin
    500   Randomize;
    501500  NewRandSeed := RandSeed;
    502501  ReloadView;
     
    659658procedure TFormNew.ButtonRandomizeClick(Sender: TObject);
    660659begin
    661   Randomize;
    662660  NewRandSeed := RandSeed;
    663661  MapPreviewRedraw;
Note: See TracChangeset for help on using the changeset viewer.