- Timestamp:
- Jan 25, 2018, 8:57:34 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r90 r99 6772 6772 i, uix, NewFocus, Loc0, OldMaster, Destination, cix, cixOldHome, 6773 6773 ServerResult: integer; 6774 AltGovs, Changed: boolean;6774 AltGovs, RevolutionChanged: boolean; 6775 6775 QueryText: string; 6776 6776 … … 6821 6821 else 6822 6822 begin 6823 Changed := false;6823 RevolutionChanged := false; 6824 6824 if MyRO.Happened and phChangeGov <> 0 then 6825 6825 begin … … 6830 6830 Server(sSetGovernment, me, ModalSelectDlg.result, nil^); 6831 6831 CityOptimizer_BeginOfTurn; 6832 Changed := true;6832 RevolutionChanged := true; 6833 6833 end 6834 6834 end 6835 6835 else 6836 // TODOwith MessgExDlg do6836 with MessgExDlg do 6837 6837 begin // revolution! 6838 6838 MessgExDlg.MessgText := Tribe[me].TPhrase('REVOLUTION'); … … 6845 6845 Play('REVOLUTION'); 6846 6846 Server(sRevolution, me, 0, nil^); 6847 Changed := true;6847 RevolutionChanged := true; 6848 6848 if NatStatDlg.Visible then 6849 6849 NatStatDlg.Close; … … 6852 6852 end 6853 6853 end; 6854 if Changed then6854 if RevolutionChanged then 6855 6855 UpdateViews(true); 6856 6856 end
Note:
See TracChangeset
for help on using the changeset viewer.