Changeset 595 for trunk/MiniMap.pas


Ignore:
Timestamp:
Aug 11, 2024, 9:05:40 PM (3 months ago)
Author:
chronos
Message:
  • Modified: Removed unused variables.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MiniMap.pas

    r594 r595  
    163163procedure TMiniMap.PaintMap(Map: TMap);
    164164var
    165   i, x, y, xm, cm, Tile, OwnColor, EnemyColor: integer;
     165  i, x, y, xm, cm, Tile: Integer;
    166166  MiniPixel: TPixelPointer;
    167167  PrevMiniPixel: TPixelPointer;
    168168  xx, yy: Integer;
    169169begin
    170   OwnColor := HGrSystem.Data.Canvas.Pixels[95, 67];
    171   EnemyColor := HGrSystem.Data.Canvas.Pixels[96, 67];
    172170  Bitmap.PixelFormat := TPixelFormat.pf24bit;
    173171  Bitmap.SetSize(Size.X * 2, Size.Y);
Note: See TracChangeset for help on using the changeset viewer.