Ignore:
Timestamp:
May 8, 2020, 6:12:35 PM (5 years ago)
Author:
chronos
Message:
  • Modified: Remove warnings about uninitialized TPixelPointer variables. Initialize that types using PixelPointer function in similar way how TPoint is inicialized using Point function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/CityScreen.pas

    r205 r206  
    9090
    9191uses
    92   Select, Messg, MessgEx, Help, Tribes, Directories, Math, PixelPointer, Sound;
     92  Select, Messg, MessgEx, Help, Tribes, Directories, Math, UPixelPointer, Sound;
    9393
    9494{$R *.lfm}
     
    443443  begin
    444444    Offscreen.BeginUpdate;
    445     PixelPtr.Init(Offscreen, X, Y);
     445    PixelPtr := PixelPointer(Offscreen, X, Y);
    446446    for YY := 0 to H - 1 do begin
    447447      for XX := 0 to W - 1 do begin
Note: See TracChangeset for help on using the changeset viewer.