Ignore:
Timestamp:
Jan 9, 2017, 8:28:51 PM (7 years ago)
Author:
chronos
Message:
  • Fixed: More bitmaps to solve black background problem.
  • Fixed: Bad drawing of gradient lines.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/IsoEngine.pas

    r38 r40  
    399399  Borders := TBitmap.Create;
    400400  Borders.PixelFormat := pf24bit;
    401   Borders.Width := xxt * 2;
    402   Borders.Height := (yyt * 2) * nPl;
     401  Borders.SetSize(xxt * 2,(yyt * 2) * nPl);
     402  Borders.Canvas.FillRect(0, 0, Borders.Width, Borders.Height);
    403403  BordersOK := 0;
    404404end;
Note: See TracChangeset for help on using the changeset viewer.