Ignore:
Timestamp:
Mar 27, 2024, 12:31:14 PM (8 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Tribes.pas

    r468 r531  
    430430    I := 0;
    431431    while (I < Count) and (Copy(Strings[I], 1, 6) <>
    432         '#AGE' + char(48 + Age) + ' ') do
     432        '#AGE' + Char(48 + Age) + ' ') do
    433433      Inc(I);
    434434    if I < Count then
     
    489489var
    490490  I: Integer;
    491   ok: Boolean;
     491  Ok: Boolean;
    492492begin
    493493  with Info do
     
    516516
    517517      // read model name from tribe script
    518       ok := False;
     518      Ok := False;
    519519      for I := 0 to Script.Count - 1 do
    520520      begin
    521521        Input := Script[I];
    522522        if Input = '#UNITS ' + ExtractFileNameOnly(GrName) then
    523           ok := True
     523          Ok := True
    524524        else if (Input <> '') and (Input[1] = '#') then
    525           ok := False
    526         else if ok and (GetNum = pix) then
     525          Ok := False
     526        else if Ok and (GetNum = pix) then
    527527        begin
    528528          Get;
Note: See TracChangeset for help on using the changeset viewer.