Changeset 71 for trunk/LocalPlayer


Ignore:
Timestamp:
Jan 14, 2017, 10:54:50 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Clear bitmap before drawing to CityScreen minimap.
Location:
trunk/LocalPlayer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/CityScreen.pas

    r61 r71  
    288288  Color1 := Colors.Canvas.Pixels[clkCity, cli1];
    289289  Color2 := Colors.Canvas.Pixels[clkAge0 + Age, cliHouse];
     290  SmallCityMap.Canvas.FillRect(0, 0, SmallCityMap.Width, SmallCityMap.Height);
    290291  bitblt(SmallCityMap.Canvas.Handle, 0, 0, 83, hSmallMap,
    291292    SmallCityMapTemplate.Canvas.Handle, 83 * SizeClass, 0, SRCCOPY);
  • trunk/LocalPlayer/Select.pas

    r69 r71  
    3333      x, y: integer);
    3434    procedure FormCreate(Sender: TObject);
     35    procedure FormDestroy(Sender: TObject);
    3536    procedure PaintBox1MouseDown(Sender: TObject; Button: TMouseButton;
    3637      Shift: TShiftState; x, y: integer);
     
    4344    procedure FormKeyDown(Sender: TObject; var Key: word; Shift: TShiftState);
    4445    procedure PlayerClick(Sender: TObject);
    45     procedure FormDestroy(Sender: TObject);
    4646  private
    4747    Kind: TListKind;
Note: See TracChangeset for help on using the changeset viewer.