Changeset 531 for trunk/LocalPlayer/ClientTools.pas
- Timestamp:
- Mar 27, 2024, 12:31:14 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/ClientTools.pas
r522 r531 446 446 eDied - job done and died (thurst) } 447 447 var 448 stage, NextJob, Tile: Integer;449 Done: set of jNone ..jPoll;448 Stage, NextJob, Tile: Integer; 449 Done: set of jNone..jPoll; 450 450 begin 451 451 Done := []; … … 470 470 while (Result <> eOK) and (Result <> eDied) do 471 471 begin 472 stage := -1;472 Stage := -1; 473 473 repeat 474 if stage = -1 then474 if Stage = -1 then 475 475 NextJob := jPoll 476 476 else 477 NextJob := Jobs[Tile and fTerrain, stage];477 NextJob := Jobs[Tile and fTerrain, Stage]; 478 478 if (NextJob = jNone) or not (NextJob in Done) then 479 479 Break; 480 Inc( stage);481 until stage = 5;482 if ( stage = 5) or (NextJob = jNone) then480 Inc(Stage); 481 until Stage = 5; 482 if (Stage = 5) or (NextJob = jNone) then 483 483 begin 484 484 Result := eJobDone;
Note:
See TracChangeset
for help on using the changeset viewer.