Changeset 715 for trunk/LocalPlayer/Term.pas
- Timestamp:
- Jan 4, 2026, 6:07:38 PM (3 days ago)
- File:
-
- 1 edited
-
trunk/LocalPlayer/Term.pas (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Term.pas
r709 r715 803 803 Picture.pix := pixNoSlaves; 804 804 Picture.Hash := 0; 805 Picture.GrName := 'StdUnits .png';805 Picture.GrName := 'StdUnits'; 806 806 IsNew := True; 807 807 end … … 823 823 with Tribe[P].ModelPicture[mix] do 824 824 begin 825 HGr := LoadGraphicSet(Picture.GrName );825 HGr := LoadGraphicSet(Picture.GrName + PngExt); 826 826 pix := Picture.pix; 827 827 end; … … 1407 1407 if AILogo[P] = nil then 1408 1408 AILogo[P] := TBitmap.Create; 1409 if not LoadGraphicFile(AILogo[P], GetAppSharePath(Name + '.png'), [gfNoError]) then1409 if not LoadGraphicFile(AILogo[P], GetAppSharePath(Name + PngExt), [gfNoError]) then 1410 1410 begin 1411 1411 FreeAndNil(AILogo[P]); … … 1766 1766 MainMap.SetOutput(Offscreen); 1767 1767 1768 HGrStdUnits := LoadGraphicSet('StdUnits .png');1768 HGrStdUnits := LoadGraphicSet('StdUnits' + PngExt); 1769 1769 SmallImp := TBitmap.Create; 1770 1770 SmallImp.PixelFormat := TPixelFormat.pf24bit; … … 1919 1919 pix := pixNoSlaves; 1920 1920 Hash := 0; 1921 GrName := 'StdUnits .png';1921 GrName := 'StdUnits'; 1922 1922 Tribe[p1].SetModelPicture(Picture, True); 1923 1923 end;
Note:
See TracChangeset
for help on using the changeset viewer.
