hedgewars/uGearsList.pas
changeset 10127 7f29a65aa1e4
parent 10108 c68cf030eded
child 10354 56bd029245fc
equal deleted inserted replaced
10126:2fa3bb7785ee 10127:7f29a65aa1e4
   698         (Gear^.Hedgehog^.Team^.Clan <> CurrentHedgehog^.Team^.Clan) then
   698         (Gear^.Hedgehog^.Team^.Clan <> CurrentHedgehog^.Team^.Clan) then
   699             with CurrentHedgehog^ do
   699             with CurrentHedgehog^ do
   700                 begin
   700                 begin
   701                 inc(Team^.stats.AIKills);
   701                 inc(Team^.stats.AIKills);
   702                 FreeTexture(Team^.AIKillsTex);
   702                 FreeTexture(Team^.AIKillsTex);
   703                 Team^.AIKillsTex := RenderStringTex(inttostr(Team^.stats.AIKills), Team^.Clan^.Color, fnt16);
   703                 Team^.AIKillsTex := RenderStringTex(ansistring(inttostr(Team^.stats.AIKills)), Team^.Clan^.Color, fnt16);
   704                 end
   704                 end
   705         end;
   705         end;
   706 with Gear^ do
   706 with Gear^ do
   707     begin
   707     begin
   708     AddFileLog('Delete: #' + inttostr(uid) + ' (' + inttostr(hwRound(x)) + ',' + inttostr(hwRound(y)) + '), d(' + floattostr(dX) + ',' + floattostr(dY) + ') type = ' + EnumToStr(Kind));
   708     AddFileLog('Delete: #' + inttostr(uid) + ' (' + inttostr(hwRound(x)) + ',' + inttostr(hwRound(y)) + '), d(' + floattostr(dX) + ',' + floattostr(dY) + ') type = ' + EnumToStr(Kind));