Changeset 531 for trunk/LocalPlayer/Tribes.pas
- Timestamp:
- Mar 27, 2024, 12:31:14 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Tribes.pas
r468 r531 430 430 I := 0; 431 431 while (I < Count) and (Copy(Strings[I], 1, 6) <> 432 '#AGE' + char(48 + Age) + ' ') do432 '#AGE' + Char(48 + Age) + ' ') do 433 433 Inc(I); 434 434 if I < Count then … … 489 489 var 490 490 I: Integer; 491 ok: Boolean;491 Ok: Boolean; 492 492 begin 493 493 with Info do … … 516 516 517 517 // read model name from tribe script 518 ok := False;518 Ok := False; 519 519 for I := 0 to Script.Count - 1 do 520 520 begin 521 521 Input := Script[I]; 522 522 if Input = '#UNITS ' + ExtractFileNameOnly(GrName) then 523 ok := True523 Ok := True 524 524 else if (Input <> '') and (Input[1] = '#') then 525 ok := False526 else if ok and (GetNum = pix) then525 Ok := False 526 else if Ok and (GetNum = pix) then 527 527 begin 528 528 Get;
Note:
See TracChangeset
for help on using the changeset viewer.