diff -r bb9ecd0346d8 -r f54e8cb9a12b hedgewars/uWorld.pas --- a/hedgewars/uWorld.pas Thu Aug 26 06:06:28 2010 -0400 +++ b/hedgewars/uWorld.pas Thu Aug 26 14:02:48 2010 +0100 @@ -778,6 +778,13 @@ inc(r.x, cTeamHealthWidth + 2); r.w:= 3; DrawFromRect(TeamHealthBarWidth + 16, cScreenHeight + DrawHealthY, @r, HealthTex); + + // draw ai kill counter for gfAISurvival + if (GameFlags and gfAISurvival) <> 0 then begin + DrawTexture(TeamHealthBarWidth + 22, cScreenHeight + DrawHealthY, + RenderStringTex(''+inttostr(stats.AIKills)+'', Clan^.Color, fnt16)); + end; + // if highlighted, draw flag and other contents again to keep their colors // this approach should be faster than drawing all borders one by one tinted or not if highlight then