Ignore:
Timestamp:
Feb 3, 2018, 5:03:31 PM (7 years ago)
Author:
chronos
Message:
  • Added: Special Delphi random number generator algorithm. It is needed to correctly open stored books. Saved games depends on stored randseed and random generator algorithm which is pretty bad design.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Term.pas

    r118 r120  
    13221322      begin
    13231323        inc(CountBest);
    1324         if random(CountBest) = 0 then
     1324        if DelphiRandom(CountBest) = 0 then
    13251325          result := j
    13261326      end
     
    35023502    AILogo[i] := nil;
    35033503  Canvas.Font.Assign(UniFont[ftSmall]);
    3504   InitButtons();
     3504  InitButtons;
    35053505  EOT.Template := Templates;
    35063506end;
Note: See TracChangeset for help on using the changeset viewer.