hedgewars/uAI.pas
changeset 2376 ece7b87f1334
parent 2289 cb850ba733bd
child 2580 aeccc8f51d3f
equal deleted inserted replaced
2375:99f05a01a6a3 2376:ece7b87f1334
   288 var a: TAmmoType;
   288 var a: TAmmoType;
   289 begin
   289 begin
   290 if ((Me^.State and (gstAttacking or gstHHJumping or gstMoving)) <> 0)
   290 if ((Me^.State and (gstAttacking or gstHHJumping or gstMoving)) <> 0)
   291    or isInMultiShoot then exit;
   291    or isInMultiShoot then exit;
   292 
   292 
   293 //DeleteCI(Me); // this might break demo 
   293 //DeleteCI(Me); // this might break demo
   294 Me^.State:= Me^.State or gstHHThinking;
   294 Me^.State:= Me^.State or gstHHThinking;
   295 Me^.Message:= 0;
   295 Me^.Message:= 0;
   296 
   296 
   297 BestActions.Count:= 0;
   297 BestActions.Count:= 0;
   298 BestActions.Pos:= 0;
   298 BestActions.Pos:= 0;