Changeset 522 for trunk/AI/StdAI/ToolAI.pas
- Timestamp:
- Jan 7, 2024, 10:24:51 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AI/StdAI/ToolAI.pas
r447 r522 420 420 begin 421 421 Inc(BestCount); 422 if random(BestCount) = 0 then422 if Random(BestCount) = 0 then 423 423 begin 424 424 BestScore := TestScore; … … 1129 1129 begin 1130 1130 Loc_to_ab(MyUnit[uix].Loc, MyUnit[uixTransportLoad[tuix]].Loc, A, B); 1131 if ( abs(A) <= 1) and (abs(B) <= 1) then1131 if (Abs(A) <= 1) and (Abs(B) <= 1) then 1132 1132 begin 1133 1133 Assert((A <> 0) or (B <> 0)); … … 1146 1146 begin 1147 1147 Loc_to_ab(TransportPlan.LoadLoc, MyUnit[uixTransportLoad[tuix]].Loc, A, B); 1148 if ( abs(A) <= 1) and (abs(B) <= 1) then1148 if (Abs(A) <= 1) and (Abs(B) <= 1) then 1149 1149 begin 1150 1150 TransportPlan.uixLoad[TransportPlan.nLoad] := uixTransportLoad[tuix];
Note:
See TracChangeset
for help on using the changeset viewer.