hedgewars/uGearsRender.pas
changeset 13842 6e4e745f42bb
parent 13781 720dc03600c9
child 13843 2b6702777c8c
equal deleted inserted replaced
13841:ff468792298a 13842:6e4e745f42bb
   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 then
   228 if (not CurrentTeam^.ExtDriven) and (CurrentTeam^.Hedgehogs[0].BotLevel = 0) 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