hedgewars/uTeams.pas
changeset 3935 5ca27a0e9a63
parent 3928 2560731c860d
child 3952 d6412423da45
child 3960 ada50f8d4186
equal deleted inserted replaced
3933:1a873262f5dd 3935:5ca27a0e9a63
   223         until (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear <> nil) or (PrevTeam = CurrTeam);
   223         until (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear <> nil) or (PrevTeam = CurrTeam);
   224         end
   224         end
   225 until (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear <> nil);
   225 until (CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog].Gear <> nil);
   226 
   226 
   227 CurrentHedgehog:= @(CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog]);
   227 CurrentHedgehog:= @(CurrentTeam^.Hedgehogs[CurrentTeam^.CurrHedgehog]);
   228 doSomethingWhen_NewTurnBeginning();
   228 perfExt_AmmoUpdate
   229 end;
   229 end;
   230 
   230 
   231 procedure AfterSwitchHedgehog;
   231 procedure AfterSwitchHedgehog;
   232 var g: PGear;
   232 var g: PGear;
   233     i, t: LongInt;
   233     i, t: LongInt;