Changeset 716 for trunk/LocalPlayer/Tribes.pas
- Timestamp:
- Jan 4, 2026, 6:13:18 PM (3 days ago)
- File:
-
- 1 edited
-
trunk/LocalPlayer/Tribes.pas (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Tribes.pas
r715 r716 493 493 Dec(I); 494 494 Assert(I >= 0); 495 Assert(PictureList[I].HGr = LoadGraphicSet(GrName + PngExt));495 Assert(PictureList[I].HGr = LoadGraphicSet(GrName)); 496 496 Assert(PictureList[I].pix = pix); 497 497 ModelPicture[mix].HGr := PictureList[I].HGr; … … 503 503 with ModelPicture[mix] do 504 504 begin 505 HGr := LoadGraphicSet(GrName + PngExt);505 HGr := LoadGraphicSet(GrName); 506 506 pix := Info.pix; 507 507 Inc(HGr.PixUsed[pix]); … … 514 514 begin 515 515 Input := Script[I]; 516 if Input = '#UNITS ' + ExtractFileNameOnly(GrName + PngExt) then516 if Input = '#UNITS ' + ExtractFileNameOnly(GrName) then 517 517 Ok := True 518 518 else if (Input <> '') and (Input[1] = '#') then … … 626 626 Ok := True; 627 627 TestPic.GrName := Copy(Input, 8, 255); 628 HGr := GrExt.SearchByName(TestPic.GrName + PngExt);628 HGr := GrExt.SearchByName(TestPic.GrName); 629 629 end 630 630 else if (Input <> '') and (Input[1] = '#') then
Note:
See TracChangeset
for help on using the changeset viewer.
