hedgewars/uGearsRender.pas
changeset 13861 2b6702777c8c
parent 13860 6e4e745f42bb
child 13872 f01798038c2e
equal deleted inserted replaced
13860:6e4e745f42bb 13861:2b6702777c8c
   223     hh: PHedgehog;
   223     hh: PHedgehog;
   224     c, i, t, x, y, sprH, sprW, fSprOff: LongInt;
   224     c, i, t, x, y, sprH, sprW, fSprOff: LongInt;
   225 begin
   225 begin
   226 t:= LocalTeam;
   226 t:= LocalTeam;
   227 
   227 
   228 if (not CurrentTeam^.ExtDriven) and (CurrentTeam^.Hedgehogs[0].BotLevel = 0) then
   228 if not CurrentTeam^.ExtDriven then
   229     for i:= 0 to Pred(TeamsCount) do
   229     for i:= 0 to Pred(TeamsCount) do
   230         if (TeamsArray[i] = CurrentTeam) then
   230         if (TeamsArray[i] = CurrentTeam) then
   231             t:= i;
   231             t:= i;
   232 
   232 
   233 if t < 0 then
   233 if t < 0 then