Ignore:
Timestamp:
Nov 3, 2021, 11:22:02 AM (3 years ago)
Author:
chronos
Message:
  • Modified: Merged changes from trunk r404.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/LocalPlayer/ClientTools.pas

    r361 r405  
    636636procedure CityOptimizer_CityChange(cix: integer);
    637637begin
    638   if (MyRO.Government <> gAnarchy) and (MyCity[cix].Flags and
     638  if (MyRO.Government <> gAnarchy) and (cix <> -1) and (MyCity[cix].Flags and
    639639    chCaptured = 0) then
    640640  begin
     
    756756initialization
    757757
    758   Assert(nImp < 128);
    759   CalculateAdvValues;
     758Assert(nImp < 128);
     759CalculateAdvValues;
    760760
    761761end.
Note: See TracChangeset for help on using the changeset viewer.