hedgewars/uTeams.pas
changeset 14094 ff6e67066fd0
parent 14069 084db65b3657
child 14240 de21f6eb2366
equal deleted inserted replaced
14093:e54f9a85ccba 14094:ff6e67066fd0
   433         TurnTimeLeft:= cHedgehogTurnTime;
   433         TurnTimeLeft:= cHedgehogTurnTime;
   434         TagTurnTimeLeft:= 0;
   434         TagTurnTimeLeft:= 0;
   435         NextClan:= false;
   435         NextClan:= false;
   436         end;
   436         end;
   437 
   437 
   438     if ((GameFlags and gfSwitchHog) <> 0) and not(CurrentTeam^.hasGone) then
   438     if ((GameFlags and gfSwitchHog) <> 0) and (not CurrentTeam^.hasGone) then
   439         begin
   439         begin
   440         g:= AddGear(hwRound(CurrentHedgehog^.Gear^.X), hwRound(CurrentHedgehog^.Gear^.Y), gtSwitcher, 0, _0, _0, 0);
   440         g:= AddGear(hwRound(CurrentHedgehog^.Gear^.X), hwRound(CurrentHedgehog^.Gear^.Y), gtSwitcher, 0, _0, _0, 0);
   441         CurAmmoGear:= g;
   441         CurAmmoGear:= g;
   442         lastGearByUID:= g;
   442         lastGearByUID:= g;
   443         end
   443         end