Changeset 349 for branches/highdpi/LocalPlayer/Nego.pas
- Timestamp:
- Apr 6, 2021, 8:11:02 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Nego.pas
r210 r349 149 149 with TButtonN(Components[cix]) do 150 150 begin 151 Graphic := GrExt[HGrSystem].Data;152 Mask := GrExt[HGrSystem].Mask;153 BackGraphic := GrExt[HGrSystem2].Data;151 Graphic := HGrSystem.Data; 152 Mask := HGrSystem.Mask; 153 BackGraphic := HGrSystem2.Data; 154 154 case Tag shr 8 of 155 155 1: … … 432 432 Brush.Color := $000000; 433 433 Tribe[p].InitAge(GetAge(p)); 434 if Tribe[p].faceHGr >= 0then434 if Assigned(Tribe[p].faceHGr) then 435 435 Dump(Offscreen, Tribe[p].faceHGr, X, Y, 64, 48, 436 436 1 + Tribe[p].facepix mod 10 * 65, 1 + Tribe[p].facepix div 10 * 49) … … 681 681 procedure TNegoDlg.CloseBtnClick(Sender: TObject); 682 682 begin 683 Close 683 Close; 684 684 end; 685 685 … … 690 690 begin 691 691 if OkBtn.Visible then 692 OkBtnClick(nil) 692 OkBtnClick(nil); 693 693 end 694 694 else 695 inherited 695 inherited; 696 696 end; 697 697
Note:
See TracChangeset
for help on using the changeset viewer.