hedgewars/uWorld.pas
changeset 3773 f552c7b439fa
parent 3770 f54e8cb9a12b
child 3774 af0e68ca273e
equal deleted inserted replaced
3772:a03e6b68a3e7 3773:f552c7b439fa
   780       DrawFromRect(TeamHealthBarWidth + 16, cScreenHeight + DrawHealthY, @r, HealthTex);
   780       DrawFromRect(TeamHealthBarWidth + 16, cScreenHeight + DrawHealthY, @r, HealthTex);
   781 
   781 
   782       // draw ai kill counter for gfAISurvival
   782       // draw ai kill counter for gfAISurvival
   783       if (GameFlags and gfAISurvival) <> 0 then begin
   783       if (GameFlags and gfAISurvival) <> 0 then begin
   784           DrawTexture(TeamHealthBarWidth + 22, cScreenHeight + DrawHealthY,
   784           DrawTexture(TeamHealthBarWidth + 22, cScreenHeight + DrawHealthY,
   785               RenderStringTex(''+inttostr(stats.AIKills)+'', Clan^.Color, fnt16));
   785               AIKillsTex);
   786       end;
   786       end;
   787 
   787 
   788       // if highlighted, draw flag and other contents again to keep their colors
   788       // if highlighted, draw flag and other contents again to keep their colors
   789       // this approach should be faster than drawing all borders one by one tinted or not
   789       // this approach should be faster than drawing all borders one by one tinted or not
   790       if highlight then
   790       if highlight then