Changeset 295 for trunk/Start.pas


Ignore:
Timestamp:
Mar 8, 2021, 4:24:21 PM (3 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Start.pas

    r292 r295  
    298298  ImageFileName := Copy(FileName, 1, Length(FileName) - Length(CevoMapExt)) + '.png';
    299299  Mode := mmPicture;
    300   if LoadGraphicFile(Bitmap, ImageFileName, gfNoError) then
     300  if LoadGraphicFile(Bitmap, ImageFileName, [gfNoError]) then
    301301  begin
    302302    if Bitmap.width div 2 > MaxWidthMapLogo then
     
    677677  with AIBrains[I] do begin
    678678    if not LoadGraphicFile(AIBrains[i].Picture, GetAiDir + DirectorySeparator +
    679       FileName + DirectorySeparator + FileName + '.png', gfNoError) then begin
     679      FileName + DirectorySeparator + FileName + '.png', [gfNoError]) then begin
    680680      with AIBrains[i].Picture.Canvas do begin
    681681        Brush.Color := $904830;
Note: See TracChangeset for help on using the changeset viewer.