equal
deleted
inserted
replaced
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 |