Changeset 648 for trunk/LocalPlayer


Ignore:
Timestamp:
Feb 19, 2025, 9:43:42 AM (4 days ago)
Author:
chronos
Message:
  • Fixed: Tribes were not propertly detected in usr/share/c-evo directory.
Location:
trunk/LocalPlayer
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Help.pas

    r647 r648  
    19821982      if Category = hkInternet then
    19831983        case Index of
    1984           1: OpenDocument(GetAppShareFile(AITemplateFileName));
     1984          1: OpenDocument(GetAppSharePath(AITemplateFileName));
    19851985          2: OpenURL(CevoHomepage);
    19861986          3: OpenURL(CevoContact);
  • trunk/LocalPlayer/TechTree.pas

    r647 r648  
    176176    Image := TBitmap.Create;
    177177    Image.PixelFormat := TPixelFormat.pf24bit;
    178     LoadGraphicFile(Image, GetAppShareFile('Help' + DirectorySeparator + 'AdvTree.png'),
     178    LoadGraphicFile(Image, GetAppSharePath('Help' + DirectorySeparator + 'AdvTree.png'),
    179179      [gfNoGamma]);
    180180
  • trunk/LocalPlayer/Term.pas

    r647 r648  
    13861386    if AILogo[P] = nil then
    13871387      AILogo[P] := TBitmap.Create;
    1388     if not LoadGraphicFile(AILogo[P], GetAppShareFile(Name + '.png'), [gfNoError]) then
     1388    if not LoadGraphicFile(AILogo[P], GetAppSharePath(Name + '.png'), [gfNoError]) then
    13891389    begin
    13901390      FreeAndNil(AILogo[P]);
Note: See TracChangeset for help on using the changeset viewer.