hedgewars/uTeams.pas
changeset 9137 d987230b85ed
parent 9080 9b42757d7e71
child 9157 2f8b60b89121
equal deleted inserted replaced
9134:9330bacf2569 9137:d987230b85ed
   108     end;
   108     end;
   109 GameOver:= true
   109 GameOver:= true
   110 end;
   110 end;
   111 
   111 
   112 procedure SwitchHedgehog;
   112 procedure SwitchHedgehog;
   113 var c, i, t, j: LongWord;
   113 var c, i, t: LongWord;
   114     PrevHH, PrevTeam : LongWord;
   114     PrevHH, PrevTeam : LongWord;
   115 begin
   115 begin
   116 TargetPoint.X:= NoPointX;
   116 TargetPoint.X:= NoPointX;
   117 TryDo(CurrentTeam <> nil, 'nil Team', true);
   117 TryDo(CurrentTeam <> nil, 'nil Team', true);
   118 with CurrentHedgehog^ do
   118 with CurrentHedgehog^ do