Changeset 456 for trunk/Direct.pas
- Timestamp:
- May 30, 2023, 11:31:10 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Direct.pas
r447 r456 43 43 44 44 uses 45 ScreenTools, Protocol, Start, LocalPlayer, NoTerm, Back, Global, UNetworkServer,46 UNetworkClient;45 ScreenTools, Protocol, Start, LocalPlayer, NoTerm, Back, Global, NetworkServer, 46 NetworkClient; 47 47 48 48 {$R *.lfm} … … 183 183 BrainTerm.Name := Phrases.Lookup('HUMAN'); 184 184 if NetworkEnabled then begin 185 BrainNetworkServer.Client := UNetworkServer.Client;185 BrainNetworkServer.Client := NetworkServer.Client; 186 186 BrainNetworkServer.Name := Phrases.Lookup('NETWORK_SERVER'); 187 BrainNetworkClient.Client := UNetworkClient.Client;187 BrainNetworkClient.Client := NetworkClient.Client; 188 188 BrainNetworkClient.Name := Phrases.Lookup('NETWORK_CLIENT'); 189 189 end; … … 280 280 procedure TDirectDlg.FormPaint(Sender: TObject); 281 281 begin 282 PaintBackground( self, 3, 3, ClientWidth - 6, ClientHeight - 6);282 PaintBackground(Self, 3, 3, ClientWidth - 6, ClientHeight - 6); 283 283 Frame(Canvas, 0, 0, ClientWidth - 1, ClientHeight - 1, 0, 0); 284 284 Frame(Canvas, 1, 1, ClientWidth - 2, ClientHeight - 2,
Note:
See TracChangeset
for help on using the changeset viewer.