Changeset 715 for trunk/Brain.pas


Ignore:
Timestamp:
Jan 4, 2026, 6:07:38 PM (3 days ago)
Author:
chronos
Message:
  • Modified: Do not store .png file extension in graphics names in book files. This is for compatibility with older C-evo versions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Brain.pas

    r679 r715  
    8080  TextSize: TSize;
    8181begin
    82   if not LoadGraphicFile(Picture, GetAiDir + DirectorySeparator + FileName + DirectorySeparator + FileName + '.png', [gfNoError]) then begin
     82  if not LoadGraphicFile(Picture, GetAiDir + DirectorySeparator + FileName + DirectorySeparator + FileName + PngExt, [gfNoError]) then begin
    8383    with Picture.Canvas do begin
    8484      Brush.Color := $904830;
Note: See TracChangeset for help on using the changeset viewer.