Changeset 70 for trunk/LocalPlayer/ClientTools.pas
- Timestamp:
- Jan 14, 2017, 10:42:14 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/ClientTools.pas
r38 r70 570 570 Done := true; 571 571 for cix := 0 to MyRO.nCity - 1 do 572 if CityNeedsOptimize[cix] then 573 begin 574 OptiType := MyCity[cix].Status shr 4 and $0F; 575 if OptiType <> 0 then 576 begin 572 if CityNeedsOptimize[cix] then begin 573 OptiType := (MyCity[cix].Status shr 4) and $0F; 574 if OptiType <> 0 then begin 577 575 Advice.ResourceWeights := OfferedResourceWeights[OptiType]; 578 576 Server(sGetCityTileAdvice, me, cix, Advice); 579 577 if Advice.Tiles <> MyCity[cix].Tiles then 580 if CheckOnly then 581 assert(false) 582 else 583 begin 578 if CheckOnly then begin 579 // TODO: What is this assert for? 580 // Need to optimize city tiles but CheckOnly true? 581 //assert(false) 582 end else begin 584 583 for fix := 1 to 26 do 585 584 if MyCity[cix].Tiles and not Advice.Tiles and
Note:
See TracChangeset
for help on using the changeset viewer.