Changeset 319 for trunk/LocalPlayer/Term.pas
- Timestamp:
- Mar 19, 2021, 3:31:53 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r318 r319 1362 1362 need := false; 1363 1363 for i := 0 to 27 do 1364 if MyRO.Wonder[i].CityID <> -1then1364 if MyRO.Wonder[i].CityID <> WonderNotBuiltYet then 1365 1365 need := true; 1366 1366 if need then … … 2024 2024 if MyRO.Wonder[i].CityID <> MyData.ToldWonders[i].CityID then 2025 2025 begin 2026 if MyRO.Wonder[i].CityID = -2then2026 if MyRO.Wonder[i].CityID = WonderDestroyed then 2027 2027 with MessgExDlg do 2028 2028 begin { tell about destroyed wonders } … … 2076 2076 end 2077 2077 else if (MyRO.Wonder[i].EffectiveOwner <> MyData.ToldWonders[i] 2078 .EffectiveOwner) and (MyRO.Wonder[i].CityID > -2) then2078 .EffectiveOwner) and (MyRO.Wonder[i].CityID > WonderDestroyed) then 2079 2079 if MyRO.Wonder[i].EffectiveOwner < 0 then 2080 2080 begin … … 5907 5907 begin // city destroyed 5908 5908 for i := 0 to 27 do { tell about destroyed wonders } 5909 if (MyRO.Wonder[i].CityID = -2) and (MyData.ToldWonders[i].CityID <> -2)5909 if (MyRO.Wonder[i].CityID = WonderDestroyed) and (MyData.ToldWonders[i].CityID <> WonderDestroyed) 5910 5910 then 5911 5911 with MessgExDlg do … … 7316 7316 mEUnitStat.Enabled := MyRO.nEnemyModel > 0; 7317 7317 { mWonders.Enabled:= false; 7318 for i:=0 to 27 do if MyRO.Wonder[i].CityID <>-1then7318 for i:=0 to 27 do if MyRO.Wonder[i].CityID <> WonderNotBuiltYet then 7319 7319 mWonders.Enabled:=true; } 7320 7320 mDiagram.Enabled := MyRO.Turn >= 2;
Note:
See TracChangeset
for help on using the changeset viewer.