hedgewars/uAI.pas
changeset 508 f5473c50adbd
parent 507 38ee23c7c8c2
child 509 fd58135a4407
equal deleted inserted replaced
507:38ee23c7c8c2 508:f5473c50adbd
   235 
   235 
   236     if BestRate > BaseRate then exit
   236     if BestRate > BaseRate then exit
   237     end
   237     end
   238 end;
   238 end;
   239 
   239 
   240 function Think(Me: Pointer): integer;
   240 function Think(Me: Pointer): ptrint;
   241 var BackMe, WalkMe: TGear;
   241 var BackMe, WalkMe: TGear;
   242     StartTicks: Longword;
   242     StartTicks: Longword;
   243 begin
   243 begin
   244 StartTicks:= GameTicks;
   244 StartTicks:= GameTicks;
   245 BestActions.Count:= 0;
   245 BestActions.Count:= 0;