Changeset 330 for trunk/LocalPlayer/UnitStat.pas
- Timestamp:
- Mar 26, 2021, 2:16:04 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/UnitStat.pas
r318 r330 7 7 Protocol, ClientTools, Term, ScreenTools, BaseWin, 8 8 LCLIntf, LCLType, SysUtils, Classes, Graphics, Controls, Forms, 9 ButtonB, ButtonC ;9 ButtonB, ButtonC, IsoEngine; 10 10 11 11 type … … 24 24 procedure FormClose(Sender: TObject; var Action: TCloseAction); 25 25 procedure HelpBtnClick(Sender: TObject); 26 26 private 27 NoMap: TIsoMap; 27 28 public 28 29 procedure CheckAge; … … 51 52 52 53 uses 53 Tribes, IsoEngine,Help, Directories;54 Tribes, Help, Directories; 54 55 55 56 {$R *.lfm} … … 73 74 begin 74 75 inherited; 76 NoMap := TIsoMap.Create; 75 77 AgePrepared := -2; 76 78 TitleHeight := Screen.Height; … … 91 93 FreeAndNil(Template); 92 94 FreeAndNil(Back); 95 FreeAndNil(NoMap); 93 96 end; 94 97 … … 521 524 begin 522 525 if Kind in [dkOwnUnit, dkEnemyUnit, dkEnemyCityDefense] then 523 with ui do526 with ui, NoMap do 524 527 begin 525 528 { Frame(offscreen.canvas,xView-1,yView-1,xView+64,yView+48,
Note:
See TracChangeset
for help on using the changeset viewer.